From 2c8ee55d16d69227d0a3e290c4e33812b5490198 Mon Sep 17 00:00:00 2001 From: Michel Juillard Date: Mon, 20 Jul 2015 10:16:03 +0200 Subject: [PATCH] Revert "adding provision for histval in conditional_forecasts" This reverts commit cb9a0ef064eacac1cc2278363d8989df4b432bcf. --- matlab/imcforecast.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/matlab/imcforecast.m b/matlab/imcforecast.m index 5b86d16e1..17587ade1 100644 --- a/matlab/imcforecast.m +++ b/matlab/imcforecast.m @@ -118,11 +118,7 @@ if estimated_model trend = trend(oo_.dr.order_var,:); InitState(:,1) = atT(:,end); else - if isempty(M_.endo_histval) - InitState(:,1) = zeros(M_.endo_nbr,1); - else - InitState(:,1) = M_.endo_histval(oo_.dr.order_var) - oo_.steady_state(oo_.dr.order_var); - end + InitState(:,1) = zeros(M_.endo_nbr,1); trend = repmat(oo_.steady_state(oo_.dr.order_var),1,options_cond_fcst.periods+1); graph_title='Calibration'; end