Skip to content

Commit b3d9bb5

Browse files
alexfiklinducer
authored andcommitted
fix comparison on numpy 1.25
1 parent 9399fb7 commit b3d9bb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_arraycontext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,8 @@ def test_container_equality(actx_factory):
13111311
dc2 = MyContainer(name="yoink", mass=ary_dof, momentum=None, enthalpy=None)
13121312
assert dc != dc2
13131313

1314-
assert isinstance(bcast_dc_of_dofs == bcast_dc_of_dofs_2, MyContainerDOFBcast)
1314+
assert isinstance(actx.np.equal(bcast_dc_of_dofs, bcast_dc_of_dofs_2),
1315+
MyContainerDOFBcast)
13151316

13161317
# }}}
13171318

0 commit comments

Comments
 (0)