From 561d07e89b0ad2ac5b9827aec158ff43fdb5bd56 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Mon, 16 May 2011 18:46:55 +0200 Subject: [PATCH] SWZ: bug fix --- mex/sources/ms-sbvar/mex_ms_sbvar.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mex/sources/ms-sbvar/mex_ms_sbvar.cc b/mex/sources/ms-sbvar/mex_ms_sbvar.cc index f71bb5dd2..e17e5c19f 100644 --- a/mex/sources/ms-sbvar/mex_ms_sbvar.cc +++ b/mex/sources/ms-sbvar/mex_ms_sbvar.cc @@ -376,10 +376,12 @@ set_options(SbvarOption *options, int nrhs, const mxArray *prhs[]) } 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; } } + else if (strstr(input_buf, "filtered")) + options->filtered_probabilities = true; else if (strstr(input_buf, "error_bands")) { mxFree(options->percentiles);