tests: trace N=1 exception tested.

This commit is contained in:
Fabian Joswig 2023-07-17 11:12:21 +01:00
parent 9bf4a9f20d
commit 7d2f8adf94
No known key found for this signature in database

View file

@ -668,6 +668,10 @@ def test_matrix_trace():
assert el == 0
with pytest.raises(ValueError):
corr.item(0, 0).trace()
def test_corr_roll():
T = 4
rn = lambda : np.random.normal(0.5, 0.1)