diff --git a/tests/block_bytecode/ls2003.mod b/tests/block_bytecode/ls2003.mod index 38ce2bccd6e7aeaa9c44399170eb84b6d1746883..3fa05a9c265ff7d4a052b557e4147eeec57c7724 100644 --- a/tests/block_bytecode/ls2003.mod +++ b/tests/block_bytecode/ls2003.mod @@ -47,20 +47,17 @@ nstbc_psi = 0; nstbc_theta = 2.95; -@#if !block && !bytecode && !use_dll -model; -@#elseif block && !bytecode && !use_dll -model(block, cutoff=0); -@#elseif !block && bytecode -model(bytecode); -@#elseif block && bytecode -model(block, bytecode, cutoff=0); -@#elseif !block && use_dll -model(use_dll); -@#else -model(block, use_dll, cutoff=0); +@#if block +model_options(block); +@#endif +@#if bytecode +model_options(bytecode); +@#endif +@#if use_dll +model_options(use_dll); @#endif +model; // Block of type “Solve two boundaries complete” (linear) y = y(+1) - (tau +alpha*(2-alpha)*(1-tau))*(R-pie(+1))-alpha*(tau +alpha*(2-alpha)*(1-tau))*dq(+1) + alpha*(2-alpha)*((1-tau)/tau)*(y_s-y_s(+1))-A(+1); pie = exp(-rr/400)*pie(+1)+alpha*exp(-rr/400)*dq(+1)-alpha*dq+(k/(tau+alpha*(2-alpha)*(1-tau)))*y+alpha*(2-alpha)*(1-tau)/(tau*(tau+alpha*(2-alpha)*(1-tau)))*y_s; @@ -218,4 +215,4 @@ shocks; end; perfect_foresight_setup(periods=20); -perfect_foresight_solver(no_homotopy, markowitz=0, stack_solve_algo = @{stack_solve_algo}); +perfect_foresight_solver(no_homotopy, stack_solve_algo = @{stack_solve_algo});