From 9ef3f7d0ed8e0a83bf2f0b088c30a3886226c347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Wed, 18 Oct 2023 21:16:15 -0400 Subject: [PATCH] Testsuite: fix test comparison value in pfwee_learnt_in.mod It would fail on some processors, due to tiny floating point discrepancies. --- tests/deterministic_simulations/pfwee_learnt_in.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/deterministic_simulations/pfwee_learnt_in.mod b/tests/deterministic_simulations/pfwee_learnt_in.mod index 1b21dd524..780117fd0 100644 --- a/tests/deterministic_simulations/pfwee_learnt_in.mod +++ b/tests/deterministic_simulations/pfwee_learnt_in.mod @@ -112,8 +112,8 @@ oo_.exo_simul = [ saved_exo; oo_.exo_simul ]; // Information arriving in period 3 (temp shocks + permanent shock in future) oo_.exo_simul(4,1) = 1.4; -oo_.exo_simul(8,1) = (1.5/1.3)*1.3; oo_.exo_steady_state = 1.1+0.1; +oo_.exo_simul(8,1) = (1.5/1.2)*oo_.exo_steady_state; oo_.exo_simul(end, 1) = oo_.exo_steady_state; oo_.steady_state = evaluate_steady_state(oo_.steady_state, oo_.exo_steady_state, M_, options_, true); oo_.endo_simul(:, end) = oo_.steady_state;