diff --git a/preprocessor b/preprocessor index 991759b2c7c60b59a41e1079cdfcf938170d716c..9372796b0552b442f2f363cdc987001f4824c779 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit 991759b2c7c60b59a41e1079cdfcf938170d716c +Subproject commit 9372796b0552b442f2f363cdc987001f4824c779 diff --git a/tests/conditional_forecasts/1/fs2000_cal.mod b/tests/conditional_forecasts/1/fs2000_cal.mod index 3e3c8cd012a8289e3f670f393b09681f632947db..964b91766b2aa320986edf7b1446730332402d3a 100644 --- a/tests/conditional_forecasts/1/fs2000_cal.mod +++ b/tests/conditional_forecasts/1/fs2000_cal.mod @@ -78,5 +78,22 @@ end; conditional_forecast(parameter_set=calibration, controlled_varexo=(e_a,e_m)); +results_1=struct2array(oo_.conditional_forecast.cond.Mean); + plot_conditional_forecast(periods=10) gy_obs gp_obs; +xx=[0.01 -0.02 0 0 0]; +conditional_forecast_paths; +var gy_obs; +periods 1:5; +values (xx); +var gp_obs; +periods 1:5; +values 0.05; +end; + +conditional_forecast(parameter_set=calibration, controlled_varexo=(e_a,e_m)); +results_2=struct2array(oo_.conditional_forecast.cond.Mean); +if max(max(abs(results_1-results_2)))>1e-10 + error('Interface wrong') +end