summaryrefslogtreecommitdiff
path: root/pint/facets/plain/quantity.py
diff options
context:
space:
mode:
Diffstat (limited to 'pint/facets/plain/quantity.py')
-rw-r--r--pint/facets/plain/quantity.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pint/facets/plain/quantity.py b/pint/facets/plain/quantity.py
index 314cc3a..3b5fef9 100644
--- a/pint/facets/plain/quantity.py
+++ b/pint/facets/plain/quantity.py
@@ -1004,7 +1004,6 @@ class PlainQuantity(PrettyIPython, SharedRegistryObject, Generic[_MagnitudeType]
no_offset_units_self = len(offset_units_self)
if not self._check(other):
-
if not self._ok_for_muldiv(no_offset_units_self):
raise OffsetUnitCalculusError(self._units, getattr(other, "units", ""))
if len(offset_units_self) == 1:
@@ -1074,7 +1073,6 @@ class PlainQuantity(PrettyIPython, SharedRegistryObject, Generic[_MagnitudeType]
no_offset_units_self = len(offset_units_self)
if not self._check(other):
-
if not self._ok_for_muldiv(no_offset_units_self):
raise OffsetUnitCalculusError(self._units, getattr(other, "units", ""))
if len(offset_units_self) == 1: