From 79bb206506468130ed637f7e1595e0bdb460d02b Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 10 Feb 2010 20:51:42 +0000 Subject: [PATCH] Fix a bug noticed by Huan Sun. git-svn-id: https://svn.dealii.org/trunk@20544 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-31/step-31.cc | 4 ++-- deal.II/examples/step-32/step-32.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5