]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the bounds of an index computation. 8743/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 12 Sep 2019 21:58:33 +0000 (15:58 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 12 Sep 2019 21:58:33 +0000 (15:58 -0600)
source/numerics/data_out.cc

index 40419d9ddd29c49053fbee2ebff8e6779b7b376e..a76ae281cfbe7ff8065ed6f19364c5812deb4822 100644 (file)
@@ -329,7 +329,7 @@ DataOut<dim, DoFHandlerType>::build_one_patch(
 
                               for (unsigned int i = 0;
                                    i < scratch_data.patch_values_scalar
-                                         .solution_values.size();
+                                         .solution_hessians.size();
                                    ++i)
                                 {
                                   AssertDimension(
@@ -412,7 +412,7 @@ DataOut<dim, DoFHandlerType>::build_one_patch(
 
                               for (unsigned int i = 0;
                                    i < scratch_data.patch_values_scalar
-                                         .solution_values.size();
+                                         .solution_hessians.size();
                                    ++i)
                                 {
                                   AssertDimension(

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.