diff --git a/tests/.gitignore b/tests/.gitignore index 7f26c7b226b7c8ef94e19132fbb6f382fddf39a9..0ba4080d917cf0b63bf9a102fa6d8eb07a697605 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -48,7 +48,7 @@ wsOct !/ep/ar_steadystate.m !/ep/exact_solution.m !/ep/mean_preserving_spread.m -!/ep/rbcii_steady_state.m +!/ep/rbcii_steadystate.m !/estimation/fsdat_simul.m !/estimation/method_of_moments/AnScho/AnScho_MoM_data_2.mat !/estimation/method_of_moments/RBC/RBC_MoM_steady_helper.m diff --git a/tests/ep/rbcii.mod b/tests/ep/rbcii.mod index c7832e4681784a60e3804fb1e4b63199c5436660..6e53839497eb6ec0de120c39b77ac3e70885b070 100644 --- a/tests/ep/rbcii.mod +++ b/tests/ep/rbcii.mod @@ -54,10 +54,6 @@ model(use_dll); end; -// Write analytical steady state file (without globals) -options_.steadystate_flag = 2; -copyfile('rbcii_steady_state.m','+rbcii/steadystate.m'); - @#if extended_path_version shocks; diff --git a/tests/ep/rbcii_steady_state.m b/tests/ep/rbcii_steadystate.m similarity index 96% rename from tests/ep/rbcii_steady_state.m rename to tests/ep/rbcii_steadystate.m index 5fc2dcb1ae5bb7aa7ef7dcd2db765c1cdbdfec40..8ef6c6ffd0977bd1c22568f00c678458392b7b55 100644 --- a/tests/ep/rbcii_steady_state.m +++ b/tests/ep/rbcii_steadystate.m @@ -1,5 +1,7 @@ -function [ys_, params, info] = rbcii_steadystate2(ys_, exo_, params) +function [ys_, params, info] = rbcii_steadystate(ys_, exo_, M_, options_) + params = M_.params; + % Flag initialization (equal to zero if the deterministic steady state exists) info = 0; @@ -85,4 +87,4 @@ function [labour,info] = l_solver(labour,alpha,psi,theta,effstar,kstar,maxiter) condition = abs(r)>1e-9; iteration = iteration + 1; end -end \ No newline at end of file +end