ms-sbvar bugfix: remove option shocks as it is not used

time-shift
Houtan Bastani 2011-08-22 15:31:47 +02:00
parent 383b12df0e
commit 6ef0f0c94d
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ set_options(SbvarOption *options, const mxArray *prhs[])
if (shocks_passed == false)
options->shocks = 1;
}
else if (option_name == "shocks" || option_name == "shocks_per_parameter")
else if (option_name == "shocks_per_parameter")
if (this_option_value && mxIsNumeric(this_option_value))
{
temp_buf = (double *) mxGetData(this_option_value);