Commit aef46cf7 authored by Stéphane Adjemian (Ithaque)'s avatar Stéphane Adjemian (Ithaque)
Browse files

Fixed bug. The declared paths for the constrained variables have to be...

Fixed bug. The declared paths for the constrained variables have to be centered (Users declare constrained variables in *levels*,
imcforecasts centers the paths and adds the trend in the end).
(cherry picked from commit 4cb664a5)
parent db73d402
......@@ -180,6 +180,8 @@ else
cL = size(constrained_paths,2);
end
constrained_paths = bsxfun(@minus,constrained_paths,trend(idx,1:cL));
randn('state',0);
for b=1:options_cond_fcst.replic
......
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