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

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

index f90d693cab8fadb55256e265d5ea4e0344d337d7..34cfece8430469a1e1ee375571d2929dedfd8d34 100644 (file)
@@ -508,7 +508,7 @@ namespace Step17
         }
 
     // Now compress the vector and the system matrix:
-    system_matrix.compress();
+    system_matrix.compress(VectorOperation::add);
     system_rhs.compress(VectorOperation::add);
 
     // The global matrix and right hand side vectors have now been

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.