From ca31a087f8696e9a337ddf972fbcb7f7842c2435 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Ry=C3=BBk=29?=
 <stepan@adjemian.eu>
Date: Wed, 31 Aug 2022 15:24:53 +0200
Subject: [PATCH] Fix typo (remove trailing underscore to option variable).

---
 matlab/perfect-foresight-models/sim1_linear.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/perfect-foresight-models/sim1_linear.m b/matlab/perfect-foresight-models/sim1_linear.m
index 60aa9ba52d..3bffa6d423 100644
--- a/matlab/perfect-foresight-models/sim1_linear.m
+++ b/matlab/perfect-foresight-models/sim1_linear.m
@@ -132,7 +132,7 @@ if options.debug
 end
 
 % Check that the dynamic model was evaluated at the steady state.
-if ~options_.steadystate.nocheck &&  max(abs(d1))>options.solve_tolf
+if ~options.steadystate.nocheck &&  max(abs(d1))>options.solve_tolf
     error('Jacobian is not evaluated at the steady state!')
 end
 
-- 
GitLab