mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
refactor: maintainability issues in tests fixed.
This commit is contained in:
parent
07d947d5b1
commit
338bf8906a
3 changed files with 7 additions and 8 deletions
|
@ -249,9 +249,9 @@ def test_matrix_corr():
|
|||
|
||||
def test_corr_none_entries():
|
||||
a = pe.pseudo_Obs(1.0, 0.1, 'a')
|
||||
l = np.asarray([[a, a], [a, a]])
|
||||
la = np.asarray([[a, a], [a, a]])
|
||||
n = np.asarray([[None, None], [None, None]])
|
||||
x = [l, n]
|
||||
x = [la, n]
|
||||
matr = pe.Corr(x)
|
||||
matr.projected(np.asarray([1.0, 0.0]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue