SWZ: bug fix

time-shift
Houtan Bastani 2011-05-16 18:46:55 +02:00
parent cd021d33f6
commit 561d07e89b
1 changed files with 3 additions and 1 deletions

View File

@ -376,10 +376,12 @@ set_options(SbvarOption *options, int nrhs, const mxArray *prhs[])
} }
else else
{ {
printf("The you must pass an integer after specifying the 'horizon' option"); printf("You must pass an integer after specifying the 'horizon' option");
return 1; return 1;
} }
} }
else if (strstr(input_buf, "filtered"))
options->filtered_probabilities = true;
else if (strstr(input_buf, "error_bands")) else if (strstr(input_buf, "error_bands"))
{ {
mxFree(options->percentiles); mxFree(options->percentiles);