From 5fc7edcd29345bf76001454d89e5cf6a4afb3f3a Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Sun, 8 Sep 2024 17:17:55 +0200 Subject: [PATCH] nlcg cleanup args --- python_module/sirius/nlcg/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python_module/sirius/nlcg/__init__.py b/python_module/sirius/nlcg/__init__.py index 18cc1eb07..16cb1449b 100644 --- a/python_module/sirius/nlcg/__init__.py +++ b/python_module/sirius/nlcg/__init__.py @@ -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, @@ -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),