Skip to content

Commit

Permalink
Use non-depricated numpy function
Browse files Browse the repository at this point in the history
  • Loading branch information
martwo committed Jul 20, 2023
1 parent f0216c4 commit e99102e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyllh/core/smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(
# Construct the smoothing kernel k used by the smooth method.
# k is a N-dimensional ndarray. It defines which neighboring bin values
# of the histogram will contribute how much to the central bin value.
self._k = np.product(
self._k = np.prod(
np.meshgrid(*axis_kernel_arrays, indexing='ij'), axis=0)

@property
Expand Down

0 comments on commit e99102e

Please sign in to comment.