Skip to content

Commit

Permalink
[fix]: Adding valid parameters to minimize function
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed Jul 12, 2021
1 parent 09843d8 commit 8fa3207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minushalf/corrections/vasp_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def _find_cut(self, symbol: str, base_path: str) -> tuple:
x0=self.cut_initial_guess,
args=(function_args),
method="Nelder-Mead",
atol=self.tolerance)
options={'atol': self.tolerance})
cut = res.x[0]

if not res.success:
Expand Down

0 comments on commit 8fa3207

Please sign in to comment.