summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-12-16 09:35:29 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-12-16 09:35:29 +0000
commitf53e07841298dd6c6c088dda18cc6f4f4353a4af (patch)
tree013a8344334e43e290e31b28e918e2f8d0bdf242
parent5474a8b61f3f7d0398c8a36c77a479df4121bd7e (diff)
Small bug stopping error being returned if a double parameter was out of
range git-svn-id: http://svn.cactuscode.org/flesh/trunk@1197 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--src/main/Parameters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/Parameters.c b/src/main/Parameters.c
index 6716fdbd..a3cff1d6 100644
--- a/src/main/Parameters.c
+++ b/src/main/Parameters.c
@@ -1584,7 +1584,7 @@ static int ParameterSetReal(t_param *param, const char *value)
if(CCTK_IsThornActive(range->origin)||CCTK_Equals(param->props->thorn, range->origin))
{
#ifndef CCTK_PARAMUNCHECKED
- if(Util_DoubleInRange(inval, range->range)||CCTK_Equals(param->props->thorn, range->origin))
+ if(Util_DoubleInRange(inval, range->range))
{
#endif
*val = inval;