]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make clear what kind of operation we want in calling compress().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 21 Jan 2011 22:29:03 +0000 (22:29 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 21 Jan 2011 22:29:03 +0000 (22:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@23236 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b4d8d954e37b868c2cb47fdb6fe223076ecc4d7a..068f301e6d2a30439ce618230df4171bb1f942b0 100644 (file)
@@ -2251,7 +2251,7 @@ void BoussinesqFlowProblem<dim>::assemble_stokes_system ()
         StokesSystem<dim> (stokes_fe));
 
   stokes_matrix.compress();
-  stokes_rhs.compress();
+  stokes_rhs.compress(Add);
 
   rebuild_stokes_matrix = false;
 

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.