Closed gertjanvanzwieten closed 6 months ago
This PR fixes the way that SI handles special binary methods such as __add__ by returning NotImplemented rather than raising a TypeError. Additionally it introduces a special SI.DimensionError, and fixes two minor unrelated issues.
__add__
NotImplemented
TypeError
SI.DimensionError
This PR fixes the way that SI handles special binary methods such as
__add__
by returningNotImplemented
rather than raising aTypeError
. Additionally it introduces a specialSI.DimensionError
, and fixes two minor unrelated issues.