Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tunits/core/cython/with_unit_value_array.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class ValueArray(WithUnit):
if self._is_dimensionless():
return getattr(ufunc, method)(*(np.asarray(x) for x in inputs), **kwargs)

raise NotImplemented
return NotImplemented

@property
def dtype(WithUnit self) -> np.dtype:
Expand All @@ -160,4 +160,4 @@ class ValueArray(WithUnit):
def to_proto(self, msg: Optional['tunits_pb2.ValueArray'] = None) -> 'tunits_pb2.ValueArray':
ret = _ndarray_to_proto(self.value, msg)
ret.units.extend(_units_to_proto(self.display_units))
return ret
return ret
Loading