]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Corrected an error in Trilinos vector class.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Nov 2008 10:28:59 +0000 (10:28 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 6 Nov 2008 10:28:59 +0000 (10:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@17485 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/trilinos_vector.h

index 12308c0e09871e1810628ea7d68376bcfaa994c8..2f03830f7ee3ddcabca95a8270fdb8238e4bed7d 100755 (executable)
@@ -431,7 +431,7 @@ namespace TrilinosWrappers
        indices[i] = map.GID(i);
 
 
-      const int ierr = vector->ReplaceGlobalValues(size, 0, v.begin()+min_my_id, 
+      const int ierr = vector->ReplaceGlobalValues(size, v.begin()+min_my_id, 
                                                   &indices[0]);
       AssertThrow (ierr == 0, ExcTrilinosError());
     }
@@ -643,7 +643,7 @@ namespace TrilinosWrappers
     for (unsigned int i=0; i<v.size(); ++i)
       indices[i] = map.GID(i);
 
-    const int ierr = vector->ReplaceGlobalValues(v.size(), 0, v.begin(), 
+    const int ierr = vector->ReplaceGlobalValues(v.size(), v.begin(), 
                                                 &indices[0]);
     AssertThrow (ierr == 0, ExcTrilinosError());
   }

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.