]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Small doc changes.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 Mar 2006 14:27:37 +0000 (14:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 31 Mar 2006 14:27:37 +0000 (14:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@12797 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparsity_pattern.h

index b9a07ce1724562eb3dbf62269bd71aef1c561446..ce01e70000d97d39b4af905e5977f0fab04824b2 100644 (file)
@@ -621,24 +621,23 @@ class SparsityPattern : public Subscriptor
                                      * If the number of rows equals
                                      * the number of columns and the
                                      * last parameter is true,
-                                     * diagonals elements are stored
+                                     * diagonal elements are stored
                                      * first in each row to allow
                                      * optimized access in relaxation
                                      * methods of SparseMatrix.
                                      */
     void reinit (const unsigned int               m,
                 const unsigned int               n,
-                const VectorSlice<const std::vector<unsigned int> > &row_lengths,
+                const const std::vector<unsigned int> &row_lengths,
                 const bool optimize_diagonal = true);
 
                                     /**
-                                     * Wrapper since the conversion
-                                     * of std::vector to const
-                                     * VectorSlice does not work.
+                                     * Same as above, but with a
+                                     * VectorSlice argument instead.
                                      */
     void reinit (const unsigned int               m,
                 const unsigned int               n,
-                const std::vector<unsigned int> &row_lengths,
+                const VectorSlice<std::vector<unsigned int> > &row_lengths,
                 const bool optimize_diagonal = true);
     
                                     /**

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.