]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test. 971/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 28 May 2015 16:35:15 +0000 (11:35 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 28 May 2015 16:35:15 +0000 (11:35 -0500)
The test uses acosh(0.5), but acosh is only defined for arguments >=1.

tests/base/function_parser_06.cc
tests/base/function_parser_06.with_muparser=true.output
tests/base/function_parser_07.cc

index 3af2240f5198618f303e9052275cc49e28dc1f19..52352bd95144cd9d1ab36f2d642c7b83ee625e38 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2005 - 2014 by the deal.II authors
+// Copyright (C) 2005 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -76,7 +76,7 @@ void test()
 
   eval("abs(-2.3)",Point<2>(0,0), 2.3);
   eval("acos(0.5)",Point<2>(0,0), acos(0.5));
-  eval("acosh(0.5)",Point<2>(0,0), acosh(0.5));
+  eval("acosh(1.5)",Point<2>(0,0), acosh(1.5));
   eval("asin(0.5)",Point<2>(0,0), asin(0.5));
   eval("asinh(0.5)",Point<2>(0,0), asinh(0.5));
   eval("atan(0.5)",Point<2>(0,0), atan(0.5));
index c6d2e0089b031b682c1688e989429abacaaefbdd..2ec9e6652b9cabb570280c6538816005514a0e8e 100644 (file)
@@ -15,7 +15,7 @@ DEAL::'int(2.1)' @ 1.10000 -2.00000 is 2.00000 ( expected 2.00000 )
 DEAL::'int(-3.8)' @ 1.10000 -2.00000 is -4.00000 ( expected -4.00000 )
 DEAL::'abs(-2.3)' @ 0.00000 0.00000 is 2.30000 ( expected 2.30000 )
 DEAL::'acos(0.5)' @ 0.00000 0.00000 is 1.04720 ( expected 1.04720 )
-DEAL::'acosh(0.5)' @ 0.00000 0.00000 is -nan ( expected -nan )
+DEAL::'acosh(1.5)' @ 0.00000 0.00000 is 0.962424 ( expected 0.962424 )
 DEAL::'asin(0.5)' @ 0.00000 0.00000 is 0.523599 ( expected 0.523599 )
 DEAL::'asinh(0.5)' @ 0.00000 0.00000 is 0.481212 ( expected 0.481212 )
 DEAL::'atan(0.5)' @ 0.00000 0.00000 is 0.463648 ( expected 0.463648 )
index 494c37ce5b17d73b85a41b5f79fff40d3ec1d43a..41d47772b54f7104cd6705e4ba376cb3288b9168 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2005 - 2014 by the deal.II authors
+// Copyright (C) 2005 - 2015 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //

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.