]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
There was an error in the compress() function in the implementation for rectangular...
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Aug 2008 19:45:05 +0000 (19:45 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Aug 2008 19:45:05 +0000 (19:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@16631 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/trilinos_sparse_matrix.cc

index 51d0d58d601881f7f0f2256dc4fdadc15eddf612..6b2b93c313ee08d2700d65a35c177cfe6e6056e5 100755 (executable)
@@ -302,7 +302,7 @@ namespace TrilinosWrappers
     if (row_map.SameAs(col_map))
       ierr = matrix->GlobalAssemble ();
     else
-      ierr = matrix->GlobalAssemble (row_map, col_map);
+      ierr = matrix->GlobalAssemble (col_map, row_map);
     
     AssertThrow (ierr == 0, ExcTrilinosError(ierr));
 
@@ -343,7 +343,7 @@ namespace TrilinosWrappers
        if (row_map.SameAs(col_map))
          ierr = matrix->GlobalAssemble (false);
        else
-         ierr = matrix->GlobalAssemble(row_map, col_map, false);
+         ierr = matrix->GlobalAssemble(col_map, row_map, false);
        
         AssertThrow (ierr == 0, ExcTrilinosError(ierr));
        last_action = Insert;
@@ -378,7 +378,7 @@ namespace TrilinosWrappers
        if (row_map.SameAs(col_map))
          ierr = matrix->GlobalAssemble (false);
        else
-         ierr = matrix->GlobalAssemble(row_map, col_map, false);
+         ierr = matrix->GlobalAssemble(col_map, row_map, false);
         
        AssertThrow (ierr == 0, ExcTrilinosError(ierr));
 

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.