]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Confify some variables.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2003 19:57:45 +0000 (19:57 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2003 19:57:45 +0000 (19:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@7321 0785d39b-7218-0410-832d-ea1e28bc413d

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

index fa18ef9b391bf84d76f0df18b3fb43cda983f48e..64a3ccc32efea3158fc1547c1138946744e2917b 100644 (file)
@@ -359,10 +359,10 @@ class SparseMatrixEZ : public Subscriptor
                                      * efficient assembling of the
                                      * matrix.
                                      */
-    explicit SparseMatrixEZ (unsigned int n_rows,
-                            unsigned int n_columns,
-                            unsigned int default_row_length = Entry::invalid,
-                            unsigned int default_increment = Entry::invalid);
+    explicit SparseMatrixEZ (const unsigned int n_rows,
+                            const unsigned int n_columns,
+                            const unsigned int default_row_length = Entry::invalid,
+                            const unsigned int default_increment = Entry::invalid);
     
                                     /**
                                      * Destructor. Free all memory, but do not
index 40b6bc6a819c4d96afd33b933f6f66f1078259da..097673036a261b1d466279e195ad965d903de6b6 100644 (file)
@@ -39,10 +39,10 @@ SparseMatrixEZ<number>::SparseMatrixEZ(const SparseMatrixEZ<number> &m)
 
 
 template <typename number>
-SparseMatrixEZ<number>::SparseMatrixEZ(unsigned int n_rows,
-                                      unsigned int n_cols,
-                                      unsigned int default_row_length,
-                                      unsigned int default_increment)
+SparseMatrixEZ<number>::SparseMatrixEZ(const unsigned int n_rows,
+                                      const unsigned int n_cols,
+                                      const unsigned int default_row_length,
+                                      const unsigned int default_increment)
 {
   reinit(n_rows, n_cols, default_row_length, default_increment);
 }

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.