Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix test_ndarray
Browse files Browse the repository at this point in the history
  • Loading branch information
reminisce committed Apr 5, 2019
1 parent a6c1f0b commit 1a5edfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_ndarray_setitem():
# numpy assignment for empty axis
for trivial_shape in [(), (1,), (1, 1), (1, 1, 1)]:
if trivial_shape == tuple():
with mx.numpy.enable_np_comp():
with mx.enable_np_comp():
x = mx.nd.zeros(trivial_shape)
else:
x = mx.nd.zeros(trivial_shape)
Expand Down

0 comments on commit 1a5edfb

Please sign in to comment.