Skip to content

Commit

Permalink
deduplicate the definition of cumprod
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Thompson <matt.thompson@openforcefield.org>
  • Loading branch information
keewis and mattwthompson authored Mar 13, 2024
1 parent 326d89a commit 2df7459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pint/facets/numpy/numpy_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ def implementation(a, *args, **kwargs):
return a._REGISTRY.Quantity(func(a_stripped, *args, **kwargs))


for func_str in ("cumprod", "cumprod", "nancumprod"):
for func_str in ("cumprod", "nancumprod"):
implement_single_dimensionless_argument_func(func_str)

# Handle single-argument consistent unit functions
Expand Down

0 comments on commit 2df7459

Please sign in to comment.