]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid deprecated function
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 22 Aug 2013 14:25:46 +0000 (14:25 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 22 Aug 2013 14:25:46 +0000 (14:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@30419 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-14/step-14.cc

index f91bbfc666f86db6d09e5f3d417964a2b0ec5f27..d2d982b129614ab8296410b07aaacda8b7953ad0 100644 (file)
@@ -1692,7 +1692,7 @@ namespace Step14
       // Finally, we have by now only integrated the gradients of the shape
       // functions, not taking their mean value. We fix this by dividing by
       // the measure of the volume over which we have integrated:
-      rhs.scale (1./total_volume);
+      rhs /= total_volume;
     }
 
 

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.