if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats",
"RIL_GRADIENT_STEP_SIZE", &f_tmp))
{
- if ((f_tmp < 0.0) || (f_tmp > 0.0))
+ if ((f_tmp < 0.0) || (f_tmp > 1.0))
{
LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"),
"RIL_GRADIENT_STEP_SIZE", f_tmp);
if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats",
"RIL_TRACE_DECAY", &f_tmp))
{
- if ((f_tmp < 0.0) || (f_tmp > 0.0))
+ if ((f_tmp < 0.0) || (f_tmp > 1.0))
{
LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"),
"RIL_TRACE_DECAY", f_tmp);
if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats",
"RIL_EXPLORE_RATIO", &f_tmp))
{
- if ((f_tmp < 0.0) || (f_tmp > 0.0))
+ if ((f_tmp < 0.0) || (f_tmp > 1.0))
{
LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"),
"RIL_EXPLORE_RATIO", f_tmp);