]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix some things that icc wants to see.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Feb 2003 01:02:22 +0000 (01:02 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Feb 2003 01:02:22 +0000 (01:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@7194 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix_ez.h

index 5b5aad6f93af8b8a57e73bb605341cdab87fb199..46dc2f89deed9d2f517391cd882d09801974efca 100644 (file)
@@ -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<number>::n () const
 template <typename number>
 inline
 const typename SparseMatrixEZ<number>::Entry*
-SparseMatrixEZ<number>::locate ( const unsigned int row,
-                                const unsigned int col) const
+SparseMatrixEZ<number>::locate (const unsigned int row,
+                               const unsigned int col) const
 {
   Assert (row<m(), ExcIndexRange(row,0,m()));
   Assert (col<n(), ExcIndexRange(col,0,n()));
@@ -1364,7 +1364,7 @@ template<typename number>
 template <class MATRIX>
 inline
 void
-SparseMatrixEZ<number>::add_scaled (number factor,
+SparseMatrixEZ<number>::add_scaled (const number factor,
                                    const MATRIX& M)
 {
   Assert (M.m() == m(), ExcDimensionMismatch(M.m(), m()));

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.