Skip to content

Commit

Permalink
Don't need
Browse files Browse the repository at this point in the history
  • Loading branch information
Bchass committed Jul 3, 2024
1 parent 900fb88 commit a6610c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tinynumpy/tinynumpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ def _get_step(view, order='C'):
step = view.strides[-1] // cont_strides[-1]
elif order == 'F':
step = view.strides[0] // cont_strides[0]

Check warning on line 106 in tinynumpy/tinynumpy.py

View check run for this annotation

Codecov / codecov/patch

tinynumpy/tinynumpy.py#L105-L106

Added lines #L105 - L106 were not covered by tests
else:
raise ValueError("Order must be 'C' or 'F'")
corrected_strides = tuple([i * step for i in cont_strides])

almost_cont = view.strides == corrected_strides
Expand Down

0 comments on commit a6610c4

Please sign in to comment.