]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a bug.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Feb 2000 16:57:15 +0000 (16:57 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Feb 2000 16:57:15 +0000 (16:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@2390 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 65c8e67ca1b9a4e2feea2e6a61343d84936e9615..f521a9e7929ea25abe5b1ecb6b19c0171a6e5cf2 100644 (file)
@@ -268,10 +268,10 @@ void DataOut<dim>::build_patches (const unsigned int n_subdivisions,
       thread_data[i].n_components   = n_components;
       thread_data[i].n_datasets     = n_datasets;
       thread_data[i].n_subdivisions = n_subdivisions;
-      thread_data[i].patch_values.resize(n_q_points);
-      thread_data[i].patch_values_system.resize(n_q_points);
+      thread_data[i].patch_values.resize (n_q_points);
+      thread_data[i].patch_values_system.resize (n_q_points);
       
-      for (unsigned int k=0;k<n_components;++k)
+      for (unsigned int k=0; k<n_q_points; ++k)
        thread_data[i].patch_values_system[k].reinit(n_components);
     }
 

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.