From 3d22c95540406799f423ac0108e5491af271fc8e Mon Sep 17 00:00:00 2001 From: kronbichler Date: Wed, 30 Mar 2011 14:17:25 +0000 Subject: [PATCH] Circumvent case where one processor has no data. git-svn-id: https://svn.dealii.org/trunk@23546 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 14b35753a0..12f4105763 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -3062,9 +3062,9 @@ void BoussinesqFlowProblem::solve () // extract temperature range std::vector temperature (2), global_temperature (2); - temperature[0] = distributed_temperature_solution.trilinos_vector()[0][0], - temperature[1] = temperature[0]; - for (unsigned int i=1; i::max(), + temperature[1] = -std::numeric_limits::max(); + for (unsigned int i=0; i (temperature[0], distributed_temperature_solution.trilinos_vector()[0][i]); -- 2.39.5