Skip to content

Commit

Permalink
Fix ro_lifter and robust_lifter example generation
Browse files Browse the repository at this point in the history
  • Loading branch information
duembgen committed Mar 13, 2024
1 parent c596a96 commit 5de8f2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/ro_lifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def plot_problem(prob, lifter, fname=""):
prob, lifter = get_problem(
t_init=np.zeros((n_positions, 2)), centered=centered, level=level
)
fname = f"certifiable-tools/_test/test_prob_{number}G{appendix}.pkl"
fname = f"certifiable-tools/_examples/test_prob_{number}G{appendix}.pkl"
save_test_problem(**prob, fname=fname)
plot_problem(prob, lifter, fname=fname.replace(".pkl", ".png"))

Expand All @@ -105,6 +105,6 @@ def plot_problem(prob, lifter, fname=""):
centered=centered,
level=level,
)
fname = f"certifiable-tools/_test/test_prob_{number}L{appendix}.pkl"
fname = f"certifiable-tools/_examples/test_prob_{number}L{appendix}.pkl"
save_test_problem(**prob, fname=fname)
plot_problem(prob, lifter, fname=fname.replace(".pkl", ".png"))

0 comments on commit 5de8f2a

Please sign in to comment.