From 260dd6293f413fc04178daaf73b524f1aa1ed3ee Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 19 Aug 2008 05:42:14 +0000 Subject: [PATCH] Fix a bug in transfering the solution. git-svn-id: https://svn.dealii.org/trunk@16595 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-31/step-31.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 08f3682145..bbdabaccb1 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -2206,8 +2206,7 @@ void BoussinesqFlowProblem::refine_mesh (const unsigned int max_grid_level) soltrans.interpolate(x_solution, tmp); temperature_solution = tmp[0]; - //TODO: this should be [1]!!!!!!! - old_temperature_solution = tmp[0]; + old_temperature_solution = tmp[1]; rebuild_matrices = true; rebuild_preconditioner = true; -- 2.39.5