]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add forgotten call to compress().
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Apr 2005 22:17:28 +0000 (22:17 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Apr 2005 22:17:28 +0000 (22:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@10457 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 8df87caa1ea9a43cc1076e42f3e3ef0dbf83ac97..439602c22bb1adeeaa204629325ef493654b8e28 100644 (file)
@@ -963,6 +963,10 @@ void ElasticProblem<dim>::assemble_system ()
          = (boundary_value->second /
             system_matrix.diag_element (boundary_value->first));
       }
+
+                                  // At the end, compress the
+                                  // so-modified vector again:
+  system_rhs.compress ();
 }
 
 

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.