From: Wolfgang Bangerth Date: Wed, 10 Feb 2010 20:51:42 +0000 (+0000) Subject: Fix a bug noticed by Huan Sun. X-Git-Tag: v8.0.0~6508 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c55e1db115f34f818cdea4aaa27e221a4b8abe46;p=dealii.git Fix a bug noticed by Huan Sun. git-svn-id: https://svn.dealii.org/trunk@20544 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 1d6e147a8e..6c4973a43c 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* */ -/* Copyright (C) 2007, 2008, 2009 by the deal.II authors */ +/* Copyright (C) 2007, 2008, 2009, 2010 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -2544,7 +2544,7 @@ void BoussinesqFlowProblem::output_results () const ExcInternalError()); Assert (joint_fe.system_to_base_index(i).second < - local_stokes_dof_indices.size(), + local_temperature_dof_indices.size(), ExcInternalError()); joint_solution(local_joint_dof_indices[i]) = temperature_solution(local_temperature_dof_indices[joint_fe.system_to_base_index(i).second]); diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 348a927363..9ca65c24a7 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -7,7 +7,7 @@ /* Author: Martin Kronbichler, Uppsala University, Wolfgang Bangerth, Texas A&M University 2008, 2009 */ /* */ -/* Copyright (C) 2008, 2009 by the deal.II authors */ +/* Copyright (C) 2008, 2009, 2010 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -2923,7 +2923,7 @@ void BoussinesqFlowProblem::output_results () { Assert (joint_fe.system_to_base_index(i).second < - local_stokes_dof_indices.size(), + local_temperature_dof_indices.size(), ExcInternalError()); joint_solution(local_joint_dof_indices[i]) = temperature_solution(local_temperature_dof_indices