Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 17, 2024
1 parent 04dadfd commit 13b6da0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unyt/_array_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,9 @@ def nanquantile(a, *args, **kwargs):

@implements(np.linalg.det)
def linalg_det(a, *args, **kwargs):
return np.linalg.det._implementation(np.asarray(a), *args, **kwargs) * a.units ** (
a.shape[0]
return (
np.linalg.det._implementation(np.asarray(a), *args, **kwargs)
* a.units ** (a.shape[0])
)


Expand Down

0 comments on commit 13b6da0

Please sign in to comment.