Skip to content

Commit 5084c56

Browse files
committed
syntax error
1 parent 9c760df commit 5084c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/tests/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def check_backwards_compatibility(codec_id, arrays, codecs, precision=None, pref
225225
if isinstance(dec, np.ndarray):
226226
dec_arr = dec.reshape(-1, order='A')
227227
else:
228-
dec_arr = ensure_contiguous_ndarray(dec)
228+
dec_arr = ensure_ndarray(dec)
229229
dec_arr = dec_arr.view(dtype=arr.dtype).reshape(arr.shape, order=order)
230230
if precision and precision[j] is not None:
231231
assert_array_almost_equal(arr, dec_arr, decimal=precision[j])

0 commit comments

Comments
 (0)