]> https://gitweb.dealii.org/ - dealii.git/commitdiff
codim_one/error_estimator_02: Fix invalid array access
authorMatthias Maier <tamiko@43-1.org>
Sat, 16 Sep 2017 05:34:13 +0000 (00:34 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sun, 17 Sep 2017 20:26:40 +0000 (15:26 -0500)
tests/codim_one/error_estimator_02.cc

index b09fc7e9ed0f5c9021227c1d61ff17af70f2c07d..91953225f72cce387b4ee238de3648e499b62963 100644 (file)
@@ -54,7 +54,6 @@ public:
                                Vector<double>     &values) const
   {
     values(0) = value(p,0);
-    values(1) = value(p,1);
   }
 };
 
@@ -81,7 +80,6 @@ public:
                                Vector<double>     &values) const
   {
     values(0) = value(p,0);
-    values(1) = value(p,1);
   }
 };
 

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.