feat: sorted_list argument readded to Corr.GEVP with a deprecation

warning.
This commit is contained in:
Fabian Joswig 2022-05-16 13:42:12 +01:00
parent eb8090a90c
commit 2136958fbc
2 changed files with 8 additions and 1 deletions

View file

@ -245,6 +245,9 @@ def test_matrix_corr():
with pytest.warns(RuntimeWarning):
corr_mat.GEVP(0, 1, sort="Eigenvalue")
with pytest.warns(DeprecationWarning):
corr_mat.GEVP(0, sorted_list="Eigenvalue")
with pytest.raises(Exception):
corr_mat.GEVP(0, 1, sort="This sorting method does not exist.")