From 11e3d42fd3be04749738ea0abe4f9758610a8d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gel=C3=9F?= <38036185+PGelss@users.noreply.github.com> Date: Wed, 17 Jul 2024 14:13:08 +0200 Subject: [PATCH] updated arguments of eigh --- scikit_tt/solvers/evp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikit_tt/solvers/evp.py b/scikit_tt/solvers/evp.py index 3cabcfa..bd9c50a 100644 --- a/scikit_tt/solvers/evp.py +++ b/scikit_tt/solvers/evp.py @@ -435,7 +435,7 @@ def __update_core(i: int, micro_op: np.ndarray, if solver == 'eigh': eigenvalues, eigenvectors = lin.eigh(micro_op, b=micro_op_gevp, overwrite_a=True, overwrite_b=True, check_finite=False, - eigvals=(micro_op.shape[0] - number_ev, micro_op.shape[0] - 1)) + subset_by_index=(micro_op.shape[0] - number_ev, micro_op.shape[0] - 1)) eigenvalues = eigenvalues[::-1] eigenvectors = eigenvectors[:, ::-1]