mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
test: test for non overlapping configs fixed.
This commit is contained in:
parent
2e66f0323a
commit
925f212e61
1 changed files with 2 additions and 2 deletions
|
@ -1139,9 +1139,9 @@ def test_non_overlapping_operations_different_lengths():
|
||||||
lambda a, b: a ** b,
|
lambda a, b: a ** b,
|
||||||
lambda a, b: a ** 2 + b ** 2 / a]:
|
lambda a, b: a ** 2 + b ** 2 / a]:
|
||||||
|
|
||||||
res1 = func(f1, f1)
|
res1 = func(f1, s1)
|
||||||
res1.gm(S=0)
|
res1.gm(S=0)
|
||||||
res2 = func(f2, f2)
|
res2 = func(f2, s2)
|
||||||
res2.gm(S=0)
|
res2.gm(S=0)
|
||||||
|
|
||||||
assert np.isclose(res1.value, res2.value)
|
assert np.isclose(res1.value, res2.value)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue