feat: removed attribute is_merged.

This commit is contained in:
Fabian Joswig 2023-01-06 13:34:26 +01:00
parent b708411830
commit a53fb18821
No known key found for this signature in database
6 changed files with 2 additions and 28 deletions

View file

@ -404,11 +404,4 @@ def assert_equal_Obs(to, ro):
if not np.allclose(v, v2, atol=1e-14):
print(kw, "does not match.")
return False
m_to = getattr(to, "is_merged")
m_ro = getattr(ro, "is_merged")
if not m_to == m_ro:
if not (all(value is False for value in m_ro.values()) and all(value is False for value in m_to.values())):
print("is_merged", "does not match.")
return False
return True

View file

@ -201,8 +201,6 @@ def test_matmul_irregular_histories():
t2 = pe.linalg.matmul(standard_matrix, irregular_matrix)
assert np.all([o.is_zero() for o in (t1 - t2).ravel()])
assert np.all([o.is_merged for o in t1.ravel()])
assert np.all([o.is_merged for o in t2.ravel()])
def test_irregular_matrix_inverse():