Skip to content

Commit

Permalink
nlcg cleanup args
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed Sep 8, 2024
1 parent 136775c commit 5fc7edc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python_module/sirius/nlcg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def validate_config(dd):
cg = {
Required("method"): Any(marzari, neugebauer),
Optional("restart"): Any(restart),
Optional("type", default="FR"): Any("FR", "PR", "SD"),
Optional("tol", default=1e-9): float,
Optional("maxiter", default=300): int,
Optional("restart", default=20): int,
Expand Down Expand Up @@ -196,7 +195,6 @@ def run_neugebauer(config, sirius_config, callback, final_callback, error_callba
maxiter=cg_config["maxiter"],
kappa=cg_config["method"]["kappa"],
restart=cg_config["restart"],
cgtype=cg_config["type"],
tau=cg_config["tau"],
callback=callback(kset, E=E),
error_callback=error_callback(kset, E=E),
Expand Down

0 comments on commit 5fc7edc

Please # to comment.