From: kronbichler Date: Mon, 1 Nov 2010 10:33:14 +0000 (+0000) Subject: Circumvent a compile problem with gcc4.0.2 by using other access to table data. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a26781d9464b37e9ae7076671190be9670a2944;p=dealii-svn.git Circumvent a compile problem with gcc4.0.2 by using other access to table data. git-svn-id: https://svn.dealii.org/trunk@22566 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/constraint_matrix.templates.h b/deal.II/include/deal.II/lac/constraint_matrix.templates.h index 93496d8306..637b20b214 100644 --- a/deal.II/include/deal.II/lac/constraint_matrix.templates.h +++ b/deal.II/include/deal.II/lac/constraint_matrix.templates.h @@ -1833,7 +1833,7 @@ namespace internals const unsigned int loc_col = global_rows.local_row(j); Assert(loc_col < dof_mask.n_cols(), ExcInternalError()); - if (dof_mask[loc_row][loc_col] == true) + if (dof_mask(loc_row,loc_col) == true) *col_ptr++ = global_rows.global_row(j); } } @@ -1852,12 +1852,12 @@ namespace internals if (loc_col != numbers::invalid_unsigned_int) { Assert (loc_col < dof_mask.n_cols(), ExcInternalError()); - if (dof_mask[loc_row][loc_col] == true) + if (dof_mask(loc_row,loc_col) == true) goto add_this_index; } for (unsigned int p=0; p