mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
d0485baca7
4 changed files with 18 additions and 5 deletions
|
@ -1146,3 +1146,13 @@ def test_non_overlapping_operations_different_lengths():
|
|||
|
||||
assert np.isclose(res1.value, res2.value)
|
||||
assert np.isclose(res1.dvalue, res2.dvalue, rtol=0.01)
|
||||
|
||||
|
||||
def test_nan_obs():
|
||||
o = pe.pseudo_Obs(1, .1, 'test')
|
||||
no = np.nan * o
|
||||
no.gamma_method()
|
||||
|
||||
o.idl['test'] = [1, 5] + list(range(7, 2002, 2))
|
||||
no = np.NaN * o
|
||||
no.gamma_method()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue