diff --git a/src/main.c b/src/main.c index 5d743e6..aa0afd5 100644 --- a/src/main.c +++ b/src/main.c @@ -795,6 +795,20 @@ int set_parameter( return(-1); } } + else if (strcmp(lhs,"lyapunov_reset")==0){ + ret=sscanf(rhs,"%lf",&(parameters->lyapunov_reset)); + if(ret!=1){ + fprintf(stderr, "error: parameter 'lyapunov_reset' should be a double\n got '%s'\n",rhs); + return(-1); + } + } + else if (strcmp(lhs,"D_epsilon")==0){ + ret=sscanf(rhs,"%lf",&(parameters->D_epsilon)); + if(ret!=1){ + fprintf(stderr, "error: parameter 'D_epsilon' should be a double\n got '%s'\n",rhs); + return(-1); + } + } else if (strcmp(lhs,"driving")==0){ if (strcmp(rhs,"zero")==0){ parameters->driving=DRIVING_ZERO;