Skip to content

Commit eb96d84

Browse files
committed
read in ss results for any reform run
1 parent bfdbb39 commit eb96d84

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ogcore/SS.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,10 +1381,11 @@ def run_SS(p, client=None):
13811381
"""
13821382
# For initial guesses of w, r, TR, and factor, we use values that
13831383
# are close to some steady state values.
1384-
if p.baseline is False and p.reform_use_baseline_solution:
1385-
# Use the baseline solution to get starting values for the reform
1384+
# Use the baseline solution to get starting values for the reform
1385+
if p.baseline is False:
13861386
baseline_ss_path = os.path.join(p.baseline_dir, "SS", "SS_vars.pkl")
13871387
ss_solutions = utils.safe_read_pickle(baseline_ss_path)
1388+
if p.baseline is False and p.reform_use_baseline_solution:
13881389
if p.reform_use_baseline_solution:
13891390
# use baseline solution as starting values if dimensions match
13901391
try:

0 commit comments

Comments
 (0)