]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix warning
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Mar 2013 02:55:41 +0000 (02:55 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Mar 2013 02:55:41 +0000 (02:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@28979 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-36/step-36.cc

index 743049b17e7cdabd88241daf1666c38c18520c6f..e11e6fab39fc54de0cf575c04ffc40d83ee6b882 100644 (file)
@@ -281,8 +281,8 @@ namespace Step36
     // At the end of the function, we tell PETSc that the matrices have now
     // been fully assembled and that the sparse matrix representation can now
     // be compressed as no more entries will be added:
-    stiffness_matrix.compress ();
-    mass_matrix.compress ();
+    stiffness_matrix.compress (VectorOperation::add);
+    mass_matrix.compress (VectorOperation::add);
   }
 
 

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.