From dfa43bf8cfcac033a12d991dbbf1e9bb99a27aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Mon, 22 Apr 2024 18:55:57 +0200 Subject: [PATCH] Testsuite: add already-existing test for LBJ --- meson.build | 1 + tests/deterministic_simulations/lbj/rbc.mod | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index b2cc39ae66..ba673ee1fd 100644 --- a/meson.build +++ b/meson.build @@ -1408,6 +1408,7 @@ mod_and_m_tests = [ { 'test' : [ 'deterministic_simulations/pfwee_multiple_shocks.mod' ] }, { 'test' : [ 'deterministic_simulations/pfwee_homotopy_linearization.mod' ] }, { 'test' : [ 'deterministic_simulations/pfwee_homotopy_marginal_linearization.mod' ] }, + { 'test' : [ 'deterministic_simulations/lbj/rbc.mod' ] }, { 'test' : [ 'lmmcp/rbc.mod' ] }, { 'test' : [ 'lmmcp/sw_lmmcp.mod', 'lmmcp/sw_newton.mod' ], diff --git a/tests/deterministic_simulations/lbj/rbc.mod b/tests/deterministic_simulations/lbj/rbc.mod index 488870f16b..fac0bc5be1 100644 --- a/tests/deterministic_simulations/lbj/rbc.mod +++ b/tests/deterministic_simulations/lbj/rbc.mod @@ -94,7 +94,7 @@ if max(max(abs(oo0.endo_simul-oo1.endo_simul)))>options_.dynatol.x error('stack_solve_algo={0,1} return different paths for the endogenous variables!') else skipline() - fprintf('Maximum (absolute) differrence between paths is %s', num2str(maxabsdiff)) + fprintf('Maximum (absolute) difference between paths is %s', num2str(maxabsdiff)) skipline() end @@ -115,6 +115,6 @@ if max(max(abs(oo0.endo_simul-oo6.endo_simul)))>options_.dynatol.x error('stack_solve_algo={0,6} return different paths for the endogenous variables!') else skipline() - fprintf('Maximum (absolute) differrence between paths is %s', num2str(maxabsdiff)) + fprintf('Maximum (absolute) difference between paths is %s', num2str(maxabsdiff)) skipline() end -- GitLab