]> https://gitweb.dealii.org/ - dealii.git/commitdiff
example/step-4: Return the correct return value 7689/head
authorMatthias Maier <tamiko@43-1.org>
Mon, 4 Feb 2019 16:55:39 +0000 (10:55 -0600)
committerMatthias Maier <tamiko@43-1.org>
Mon, 4 Feb 2019 16:56:41 +0000 (10:56 -0600)
This commit reverts a stray change that should have probably never made
it into 0e12f6f87a0b84fadd8df629f55da42a8494ce8f

examples/step-4/step-4.cc

index a63c86d40e5af7ad71afbe137332fc84c769ed10..a4b0aa53907b8fc30b21ef44bcd26f060ce8afc9 100644 (file)
@@ -186,7 +186,7 @@ double RightHandSide<dim>::value(const Point<dim> &p,
   for (unsigned int i = 0; i < dim; ++i)
     return_value += 4.0 * std::pow(p(i), 4.0);
 
-  return 1.; // return_value;
+  return return_value;
 }
 
 

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.