From: Wolfgang Bangerth Date: Tue, 14 Mar 2006 20:14:38 +0000 (+0000) Subject: Compare only iterators from the same sequence. X-Git-Tag: v8.0.0~12110 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=845c357a2ed1a3d4f9bc087983c3d3826fcb2b2a;p=dealii.git Compare only iterators from the same sequence. git-svn-id: https://svn.dealii.org/trunk@12585 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index e96463df52..ade6ab8fcf 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -3057,7 +3057,7 @@ DoFTools::compute_intergrid_constraints ( break; } - Assert (col_entry != weights[0].end(), ExcInternalError()); + Assert (col_entry != weights[first_used_row].end(), ExcInternalError()); if ((col_entry->second == 1) && (representants[first_used_row] == static_cast(global_dof)))