Skip to content

Commit

Permalink
Update pypesto/optimize/ess/sacess.py
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Jonas Jost <[email protected]>
  • Loading branch information
dweindl and PaulJonasJost committed Dec 10, 2024
1 parent d6f9e36 commit 4f85126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypesto/optimize/ess/sacess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ def __call__(
"""Create a :class:`IpoptOptimizer` instance."""

options = self._ipopt_options.copy()
if np.isfinite(max_eval):
if np.isfinite(max_walltime_s):
options["max_wall_time"] = max_walltime_s

# only accepts int
Expand Down

0 comments on commit 4f85126

Please sign in to comment.