]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make this thing compilable (should not have committed it in the first place...)
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 17 Jan 2000 19:39:47 +0000 (19:39 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 17 Jan 2000 19:39:47 +0000 (19:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@2240 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e02125862b60f9878dff68adacc2e8c78fb5b09c..3591447074f9f7e61e409f492ce431e5f8bb8b50 100644 (file)
@@ -58,10 +58,10 @@ SparseVanka<number>::operator ()(Vector<number2>       &dst,
                                   // eliminates the need to
                                   // re-allocate memory inside the
                                   // loop.
-  FullMatrix<float> local_matrix (structure.max_row_length(),
-                                 structure.max_row_length());
-  Vector<float> b (structure.max_row_length());
-  Vector<float> x (structure.max_row_length());
+  FullMatrix<float> local_matrix (structure.max_entries_per_row(),
+                                 structure.max_entries_per_row());
+  Vector<float> b (structure.max_entries_per_row());
+  Vector<float> x (structure.max_entries_per_row());
   
                                   // traverse all rows of the matrix
                                   // which are selected

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.