Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgsavage committed Nov 13, 2023
1 parent 0977c3d commit 8bc5fc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pint/facets/numpy/numpy_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,9 @@ def implementation(*args, **kwargs):
]
):
# the sequence may contain different units, so fall back to element-wise
return np.array([func(*func_args) for func_args in zip(*args)], dtype=object)
return np.array(
[func(*func_args) for func_args in zip(*args)], dtype=object
)

first_input_units = _get_first_input_units(args, kwargs)
if input_units == "all_consistent":
Expand Down

0 comments on commit 8bc5fc7

Please sign in to comment.