Skip to content
Snippets Groups Projects
Verified Commit 90ee3018 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'octave_test' of git.dynare.org:JohannesPfeifer/dynare

Ref. !2074
parents 6437fc0f a82d24fd
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,13 @@ if any(oo_.endo_simul(strmatch('i',M_.endo_names,'exact'),:)<-1e-6)
end
ds = dseries('rbcii-sim-data.mat');
if isoctave
tolerance=5e-5;
else
tolerance=1e-6;
end
if any(abs(transpose(oo_.endo_simul(strmatch('i',M_.endo_names,'exact'),:))-ds.Investment.data)>1e-6)
if any(abs(transpose(oo_.endo_simul(strmatch('i',M_.endo_names,'exact'),:))-ds.Investment.data)>tolerance)
error('Simulation with lmmcp returns different results.')
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment