From e110dcf8ae494c7fc6073b93b4234fd877749a3f Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 7 Jan 2013 14:37:45 +0000 Subject: [PATCH] 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 --- deal.II/source/numerics/matrix_tools.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5