mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
feat: sorted_list argument readded to Corr.GEVP with a deprecation
warning.
This commit is contained in:
parent
eb8090a90c
commit
2136958fbc
2 changed files with 8 additions and 1 deletions
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue