We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b5d0d commit b40a9c7Copy full SHA for b40a9c7
1 file changed
tunits/core/cython/with_unit.pyx
@@ -669,11 +669,6 @@ cdef class WithUnit:
669
def sign(self) -> int | np.ndarray:
670
return np.sign(self.value_in_base_units())
671
672
- def dimensionless(self) -> float | np.ndarray:
673
- if not self._is_dimensionless():
674
- raise ValueError(f'{self} is not dimensionless')
675
- return self.value_in_base_units()
676
-
677
_try_interpret_as_with_unit = None
678
_is_value_consistent_with_default_unit_database = None
679
def init_base_unit_functions(
0 commit comments