aboutsummaryrefslogtreecommitdiff
path: root/src/patch/test_patch_system.cc
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-09-15 18:06:33 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-09-15 18:06:33 +0000
commit86a9bf47894d2134e54807447dbf9d139f9bc4e2 (patch)
tree9a7ea476438a44c95d74af4412b5f21b99624297 /src/patch/test_patch_system.cc
parentfeb87abae4146e1decdeec831d292baada6d31ca (diff)
change test fn for FD tests slightly,
and more importantly, use the *SAME* test fn for both C++ and Maple code! (before C++ had sin(4.0*rho) while Maple had sin(rho) :( :( :( ) git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@346 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/test_patch_system.cc')
-rw-r--r--src/patch/test_patch_system.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patch/test_patch_system.cc b/src/patch/test_patch_system.cc
index e7d9b11..b8e985a 100644
--- a/src/patch/test_patch_system.cc
+++ b/src/patch/test_patch_system.cc
@@ -579,7 +579,7 @@ return (x*(x+0.238) + 2.417*y*(y-0.917) + 1.38*z*(z-0.472))
namespace {
fp fn_rho_sigma(fp rho, fp sigma)
{
-return exp(sin(4.0*rho)) * tanh(jtutil::pow2(sin(sigma)));
+return exp(sin(1.38*rho)) * tanh(0.17+0.83*jtutil::pow2(sin(sigma)));
}
};