From 70d978cbcc424e065dcb42784b4d74cc0f575ad4 Mon Sep 17 00:00:00 2001
From: Wolfgang Bangerth <bangerth@math.tamu.edu>
Date: Wed, 27 May 2015 18:49:15 -0500
Subject: [PATCH] Fix a test.

The test calls acosh(0.5), but acosh is really only defined for arguments >=1.
---
 tests/base/function_parser_07.cc                        | 2 +-
 tests/base/function_parser_07.with_muparser=true.output | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/base/function_parser_07.cc b/tests/base/function_parser_07.cc
index 8d7ef582a4..494c37ce5b 100644
--- a/tests/base/function_parser_07.cc
+++ b/tests/base/function_parser_07.cc
@@ -75,7 +75,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));
diff --git a/tests/base/function_parser_07.with_muparser=true.output b/tests/base/function_parser_07.with_muparser=true.output
index 4653eb2ed5..094272ec98 100644
--- a/tests/base/function_parser_07.with_muparser=true.output
+++ b/tests/base/function_parser_07.with_muparser=true.output
@@ -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 )
-- 
2.39.5