Replace deprecated `np.product()` function calls
Closed this issue · 1 comments
nawtrey commented
Recent CI runs have been giving the following warning:
kda/tests/test_kda.py: 1340 warnings
C:\Users\nikol\OneDrive\projects\kinetic_diagram_analysis\kda\kda\diagrams.py:342: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
K_cof = _get_cofactor_matrix(K_laplace=K_laplace)
A simple change from np.product()
to np.prod()
should fix this.