Skip to content

Commit 7dfc81a

Browse files
authored
Update agnostic_cylinders.py
fix typo in write_solution code
1 parent 1401c09 commit 7dfc81a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: mpisppy/agnostic/agnostic_cylinders.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ def _parse_args(m):
144144

145145
write_solution = cfg.write_solution
146146
if write_solution:
147-
wheel.write_first_stage_solution(f'{module_fname}.csv')
148-
wheel.write_first_stage_solution(f'{module_fname}.npy',
147+
wheel.write_first_stage_solution(f'{model_fname}.csv')
148+
wheel.write_first_stage_solution(f'{model_fname}.npy',
149149
first_stage_solution_writer=sputils.first_stage_nonant_npy_serializer)
150-
wheel.write_tree_solution(f'{module_fname}_solution')
150+
wheel.write_tree_solution(f'{model_fname}_solution')
151151

0 commit comments

Comments
 (0)