Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 3, 2022
1 parent d29d07f commit b0057f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/boost_histogram/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def histogramdd(
r = (np.amin(a[n]), np.amax(a[n]))
if r[0] == r[1]:
r = (r[0] - 0.5, r[1] + 0.5)
new_ax = _axis.Regular(typing.cast(int, b), r[0], r[1], underflow=False, overflow=False)
new_ax = _axis.Regular(
typing.cast(int, b), r[0], r[1], underflow=False, overflow=False
)
axs.append(new_ax)
else:
barr: "np.typing.NDArray[Any]" = np.asarray(b, dtype=np.double)
Expand Down

0 comments on commit b0057f7

Please sign in to comment.