Skip to content

Commit

Permalink
kinfs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Apr 10, 2024
1 parent f8a4e08 commit ba366c2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pint/facets/plain/quantity.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,14 @@

def ireduce_dimensions(f):
def wrapped(self, *args, **kwargs):
print(f)
result = f(self, *args, **kwargs)
print(args[0].kind, self.kind, f.__name__)
# TODO: Implement this for div, maybe move to mul and div funcs
if (
hasattr(self, "kind")
and hasattr(args[0], "kind")
and f.__name__ in ["_mul_div"]
):
result_units_container = UnitsContainer({self.kind: 1, args[0].kind: 1})
print(args[0].kind, self.kind)
for dim in self._REGISTRY._dimensions.values():
if (
hasattr(dim, "reference")
Expand Down

0 comments on commit ba366c2

Please sign in to comment.