From ff2fa14bf84ee227f3edb41b032d3e9c00e220a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 25 Jan 2023 17:20:00 +0100
Subject: [PATCH] Preprocessor update
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

– Add two missing checks for file opening failures
– Run detrending engine if trend variables are present, even if unused in a
  var(deflator=…) statement
– Remove some incorrect normalization rules for the case mfs=3
  As a consequence, increase the tolerance for a test with mfs=3 (it now uses
  the same tolerance as the corresponding test for mfs=2).
---
 preprocessor                                          | 2 +-
 tests/block_bytecode/lola_solve_one_boundary_mfs3.mod | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/preprocessor b/preprocessor
index 0301595516..3699a2defd 160000
--- a/preprocessor
+++ b/preprocessor
@@ -1 +1 @@
-Subproject commit 0301595516cf9be594123c8f15e89a9a2363174d
+Subproject commit 3699a2defdb31cc8dfa45ff7a447a4ab29a7f31e
diff --git a/tests/block_bytecode/lola_solve_one_boundary_mfs3.mod b/tests/block_bytecode/lola_solve_one_boundary_mfs3.mod
index 16b227463e..5637d2b44e 100644
--- a/tests/block_bytecode/lola_solve_one_boundary_mfs3.mod
+++ b/tests/block_bytecode/lola_solve_one_boundary_mfs3.mod
@@ -7,6 +7,6 @@
 
 mfs0=load(['lola_solve_one_boundary' filesep 'Output' filesep 'lola_solve_one_boundary_results']);
 
-if max(max(oo_.endo_simul-mfs0.oo_.endo_simul)) > options_.dynatol.x
+if max(max(oo_.endo_simul-mfs0.oo_.endo_simul)) > 20*options_.dynatol.x
    error('Inconsistency with mfs=0')
 end
-- 
GitLab