]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid a warning with some compilers.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 03:31:46 +0000 (03:31 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 03:31:46 +0000 (03:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@28355 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/matrix_tools.cc

index 855306a649a0f64ebf886f54650cbe693ff67389..d48a26831cd5e84d5621fe88178d3c5a77edb0c1 100644 (file)
@@ -2295,7 +2295,7 @@ namespace MatrixTools
                     // find the position of element (row,dof_number) in this
                     // block (not in the transpose one). note that we have to
                     // take care of special cases with square sub-matrices
-                    bool (*comp)(const typename SparseMatrix<number>::iterator::value_type p,
+                    bool (*comp)(typename SparseMatrix<number>::iterator::value_type p,
                                  const unsigned int column)
                       = &column_less_than<typename SparseMatrix<number>::iterator>;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.