Commit a25f196
authored
fix: Replace deprecated np.product by np.prod (#2242)
* Use np.prod API over np.product as np.product is deprecated
as of NumPy v1.25.0.
- c.f. https://numpy.org/devdocs/release/1.25.0-notes.html#deprecations1 parent 951912f commit a25f196
File tree
2 files changed
+2
-2
lines changed- docs/examples/notebooks
- src/pyhf/tensor
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
0 commit comments