Skip to content

Commit

Permalink
same as previous but for params
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Jan 30, 2025
1 parent 4f1d0f1 commit e43ca53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fastsim/pymoo_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def run_minimize(

x_df = pd.DataFrame(
data=[x for x in res.X.tolist()],
columns=[param for param in problem.mod_obj.param_fns],
columns=[param.__name__ for param in problem.mod_obj.param_fns],
)

Path(save_path).mkdir(exist_ok=True, parents=True)
Expand Down

0 comments on commit e43ca53

Please sign in to comment.