mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 11:38:06 +08:00
spelling: negative
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0112fca371
commit
07782096d8
@ -952,7 +952,7 @@ class TestArray(mlx_tests.MLXTestCase):
|
|||||||
b_mx = a_mx[25:-50:-3]
|
b_mx = a_mx[25:-50:-3]
|
||||||
self.assertTrue(np.array_equal(b_np, b_mx))
|
self.assertTrue(np.array_equal(b_np, b_mx))
|
||||||
|
|
||||||
# Negatie slice and ascending bounds
|
# Negative slice and ascending bounds
|
||||||
b_np = a_np[0:20:-3]
|
b_np = a_np[0:20:-3]
|
||||||
b_mx = a_mx[0:20:-3]
|
b_mx = a_mx[0:20:-3]
|
||||||
self.assertTrue(np.array_equal(b_np, b_mx))
|
self.assertTrue(np.array_equal(b_np, b_mx))
|
||||||
|
Loading…
Reference in New Issue
Block a user