diff --git a/matlab/perfect-foresight-models/sim1_linear.m b/matlab/perfect-foresight-models/sim1_linear.m
index 60aa9ba52d6054759e90fdc356bc5c97da2d966a..3bffa6d42396253ae3ec96c566ef7e00481348d5 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