Make sure order=3 implies k_order_solver in the preprocessor
Currently, we set k_order_solver = 1
if order=3
within two functions: stoch_simul
and simult_
. This approach is prone to problems. stoch_simul
will not pass k_order_solver = 1
to the options
-structure, because it is local to the function. When a user tries to directly call resol
, this will thus fail, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=6432
We should take this out of specialized functions and use the preprocessor to set k_order_solver = 1
whenever order=3
. This would assure the option is always correctly set.