diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-04-10 16:54:18 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-04-10 16:54:18 +0000 |
commit | e478f8d4ca3efbfb449054a424e035893a2364a3 (patch) | |
tree | 519017e368880a66bfbc8ed08d741157b1172510 /src/GeneralizedPolynomial-Uniform/util.c | |
parent | 967694883048856f034ac5770ce889008309dab4 (diff) |
change default out_of_range_tolerance from hard-wired value to
1.0e4*DBL_EPSILON
--> this at least scales with machine precision,
abeit it does suffer from the serious problem that C double
might not be the right type to use (CCTK_REAL)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@20 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/util.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/util.c b/src/GeneralizedPolynomial-Uniform/util.c index 443fa1b..adbd9eb 100644 --- a/src/GeneralizedPolynomial-Uniform/util.c +++ b/src/GeneralizedPolynomial-Uniform/util.c @@ -10,10 +10,10 @@ @version $Id$ @@*/ +#include <math.h> #include <limits.h> #include <stdlib.h> #include <stdio.h> -#include <math.h> #ifndef LOCALINTERP_STANDALONE_BUILD #include "cctk.h" |