diff --git a/matlab/det_cond_forecast.m b/matlab/det_cond_forecast.m
index 18ebb53f3006fe6aa875cc147be9e152f9062a4d..9cfc77cbba0f3c776da35b4164be28e774761d12 100644
--- a/matlab/det_cond_forecast.m
+++ b/matlab/det_cond_forecast.m
@@ -100,7 +100,7 @@ else
 end;
 
 eps = options_.solve_tolf;
-maxit = options_.solve_maxit;
+maxit = options_.simul.maxit;
 
 initial_conditions = oo_.steady_state;
 past_val = 0;