Commit 6ef0f0c9 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

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

parent 383b12df
...@@ -427,7 +427,7 @@ set_options(SbvarOption *options, const mxArray *prhs[]) ...@@ -427,7 +427,7 @@ set_options(SbvarOption *options, const mxArray *prhs[])
if (shocks_passed == false) if (shocks_passed == false)
options->shocks = 1; 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)) if (this_option_value && mxIsNumeric(this_option_value))
{ {
temp_buf = (double *) mxGetData(this_option_value); temp_buf = (double *) mxGetData(this_option_value);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment