Skip to content

Commit

Permalink
fixup! STY: migrate formatting from black to ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jun 25, 2024
1 parent 696c9a6 commit 4337709
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 @@ -570,8 +570,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 4337709

Please sign in to comment.