]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an obvious oversight.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 14 Oct 2007 05:33:30 +0000 (05:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 14 Oct 2007 05:33:30 +0000 (05:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@15315 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out.cc

index 437dfca8334d10ae1d8d9c64c396c30f8038d84b..a44de1daaed98d18c209818dabfc5bbee51a021b 100644 (file)
@@ -580,7 +580,7 @@ DataOut_DoFData<DH,patch_dim,patch_space_dim>::get_vector_data_ranges () const
   unsigned int n_output_components = 0;
   for (data_iterator  d=dof_data.begin();
        d!=dof_data.end(); ++d)
-    n_output_components = (*d)->n_output_variables;
+    n_output_components += (*d)->n_output_variables;
   Assert (output_component == n_output_components,
          ExcInternalError());
 #endif

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.