]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Ups, std::fabs was meant instead of std::abs...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 19 Apr 2002 12:13:50 +0000 (12:13 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 19 Apr 2002 12:13:50 +0000 (12:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@5690 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria_accessor.cc

index 9e40a7a4ca1b17e1974ca95d7073d35f23c5a7f0..5becb54b567bd91219f71ac89d1d5d8389a119f5 100644 (file)
@@ -1521,7 +1521,7 @@ double TriaObjectAccessor<3, 3>::measure () const
                                   // the other one). the measure is
                                   // thus negative. Thus take the
                                   // absolute value of the result
-  return std::abs(s3+x[5]*y[4]*z[1]/12.0-x[5]*y[4]*z[6]/12.0-x[3]*y[7]*z[4]/12.0+x[6]*
+  return std::fabs(s3+x[5]*y[4]*z[1]/12.0-x[5]*y[4]*z[6]/12.0-x[3]*y[7]*z[4]/12.0+x[6]*
     y[3]*z[7]/12.0-y[1]*x[6]*z[5]/12.0-z[5]*x[1]*y[4]/12.0+z[5]*x[6]*y[4]/12.0+z[5]
     *x[4]*y[1]/12.0-z[5]*x[4]*y[6]/12.0-x[6]*y[7]*z[3]/12.0-x[4]*y[3]*z[7]/12.0+x
     [4]*y[7]*z[3]/12.0-x[1]*y[5]*z[6]/12.0-y[6]*x[7]*z[4]/12.0-y[1]*x[2]*z[6]/12.0-

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.