From: wolf Date: Thu, 20 Feb 2003 01:02:22 +0000 (+0000) Subject: Fix some things that icc wants to see. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33cac250b0e3c0a64657495e732e945ab26dfdc5;p=dealii-svn.git Fix some things that icc wants to see. git-svn-id: https://svn.dealii.org/trunk@7194 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix_ez.h b/deal.II/lac/include/lac/sparse_matrix_ez.h index 5b5aad6f93..46dc2f89de 100644 --- a/deal.II/lac/include/lac/sparse_matrix_ez.h +++ b/deal.II/lac/include/lac/sparse_matrix_ez.h @@ -880,14 +880,14 @@ class SparseMatrixEZ : public Subscriptor * zero-pointer if the entry does * not exist. */ - const Entry* locate (unsigned int row, - unsigned int col) const; + const Entry* locate (const unsigned int row, + const unsigned int col) const; /** * Find an entry or generate it. */ - Entry* allocate (unsigned int row, - unsigned int col); + Entry* allocate (const unsigned int row, + const unsigned int col); /** * Version of @p{vmult} which only @@ -1144,8 +1144,8 @@ unsigned int SparseMatrixEZ::n () const template inline const typename SparseMatrixEZ::Entry* -SparseMatrixEZ::locate ( const unsigned int row, - const unsigned int col) const +SparseMatrixEZ::locate (const unsigned int row, + const unsigned int col) const { Assert (row template inline void -SparseMatrixEZ::add_scaled (number factor, +SparseMatrixEZ::add_scaled (const number factor, const MATRIX& M) { Assert (M.m() == m(), ExcDimensionMismatch(M.m(), m()));