dynare/tests/solve_algo_12_14/purely_static_14.mod

12 lines
413 B
Modula-2

// Check the correctedness of perfect foresight simulation of a purely static model with “solve_algo=14”
@#include "purely_static_common.inc"
perfect_foresight_solver(solve_algo = 14);
ref = load('purely_static_reference/Output/purely_static_reference_results.mat');
if max(max(abs(oo_.endo_simul - ref.oo_.endo_simul))) > 1e-16
error('Incorrect results for perfect foresight with solve_algo=14')
end