diff --git a/matlab/dynare_estimation_init.m b/matlab/dynare_estimation_init.m
index e1d42f0c13da18644da089f9fa1684ca85281e40..954071cfb57a459534be570daf9135b042ff59c2 100644
--- a/matlab/dynare_estimation_init.m
+++ b/matlab/dynare_estimation_init.m
@@ -191,7 +191,7 @@ end
 bayestopt_.penalty = 1e8;
 
 % Get informations about the variables of the model.
-dr = set_state_space(oo_.dr,M_);
+dr = set_state_space(oo_.dr,M_,options_);
 oo_.dr = dr;
 nstatic = dr.nstatic;          % Number of static variables.
 npred = dr.npred;              % Number of predetermined variables.