Skip to content

Commit

Permalink
Merge pull request #46 from Andrew-S-Rosen/patch-2
Browse files Browse the repository at this point in the history
Remove deprecated `force_consistent` parameter
  • Loading branch information
juditzador authored Oct 15, 2024
2 parents ec2a532 + 7e234b4 commit 0bba1b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions sella/optimize/irc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def __init__(
logfile: str = '-',
trajectory: Optional[Union[str, TrajectoryWriter]] = None,
master: Optional[bool] = None,
force_consistent: bool = False,
ninner_iter: int = 10,
irctol: float = 1e-2,
dx: float = 0.1,
Expand All @@ -41,7 +40,6 @@ def __init__(
logfile=logfile,
trajectory=trajectory,
master=master,
force_consistent=force_consistent,
)
self.ninner_iter = ninner_iter
self.irctol = irctol
Expand Down
4 changes: 1 addition & 3 deletions sella/optimize/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def __init__(
logfile: str = '-',
trajectory: Union[str, Trajectory] = None,
master: bool = None,
force_consistent: bool = False,
delta0: float = None,
sigma_inc: float = None,
sigma_dec: float = None,
Expand Down Expand Up @@ -98,8 +97,7 @@ def __init__(
self.rs = get_restricted_step(rs)
Optimizer.__init__(self, atoms, restart=restart,
logfile=logfile, trajectory=asetraj,
master=master,
force_consistent=force_consistent)
master=master)

if delta0 is None:
delta0 = default['delta0']
Expand Down

0 comments on commit 0bba1b7

Please sign in to comment.