From: bangerth Date: Mon, 7 Jan 2013 14:37:45 +0000 (+0000) Subject: Try to avoid using something gcc 4.1.2 doesn't appear to understand. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e110dcf8ae494c7fc6073b93b4234fd877749a3f;p=dealii-svn.git Try to avoid using something gcc 4.1.2 doesn't appear to understand. git-svn-id: https://svn.dealii.org/trunk@27960 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/numerics/matrix_tools.cc b/deal.II/source/numerics/matrix_tools.cc index ac21e24c72..0e5bb4d784 100644 --- a/deal.II/source/numerics/matrix_tools.cc +++ b/deal.II/source/numerics/matrix_tools.cc @@ -2066,11 +2066,14 @@ namespace MatrixTools // find the position of // element // (row,dof_number) + bool (*comp)(const typename SparseMatrix::iterator::value_type &p, + const unsigned int column) + = &column_less_than::iterator>; const typename SparseMatrix::iterator p = Utilities::lower_bound(matrix.begin(row)++, matrix.end(row), dof_number, - &column_less_than::iterator>); + comp); // check whether this line has // an entry in the regarding column