Skip to content

implement comparison between arrays with the same shape

Joseph Weston requested to merge jbweston/tinyarray:bugfix/comparison into master

If the arrays do not have the same shape then we return NotImplemented.

This will fix issue #2 (closed) for the case where the arrays are the same shape, and it should raise a TypeError in the other cases.

This currently fails for Python 2 because TypeError is not raised, even when the comparison methods return NotImplemented.

Merge request reports

Loading