Skip to content
Snippets Groups Projects
Verified Commit c17728da authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Make sure matlab routine is used in first unit test.

parent 49727cf7
Branches
No related tags found
No related merge requests found
......@@ -93,13 +93,13 @@ ghuu = rand(n,q*q);
ghxu = rand(n,n*q);
yhat_ = zeros(n,1);
ss = ones(n,1);
addpath(sprintf('%s/missing/mex/local_state_space_iterations', fileparts(which('dynare'))))
% Call the tested routine.
for i=1:10
y1 = local_state_space_iteration_2(yhat,epsilon,ghx,ghu,constant,ghxx,ghuu,ghxu,1);
[y2,y2_] = local_state_space_iteration_2(yhat,epsilon,ghx,ghu,constant,ghxx,ghuu,ghxu,yhat_,ss,1);
end
rmpath(sprintf('%s/missing/mex/local_state_space_iterations', fileparts(which('dynare'))))
% Check the results.
t(1) = dassert(y1,ones(n,1));
t(2) = dassert(y2,ones(n,1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment