Skip to content

Commit 6f94d14

Browse files
guitargeekdpiparo
authored andcommitted
[PyROOT] Avoid using deprecated numpy._float
The `np.float_` was removed in the NumPy 2.0 release. One should use `np.float64` instead, which is already in the same dictionary.
1 parent 88a02dd commit 6f94d14

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bindings/pyroot/pythonizations/python/ROOT/_pythonization/_rdf_conversion_maps.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
numpy.int16 : 'Int_t',
6161
numpy.int32: 'Int_t',
6262
numpy.int64 : 'Long_t',
63-
numpy.float_ : 'Float_t',
6463
numpy.float32 : 'Float_t',
6564
numpy.float64 : 'Double_t',
6665
}

0 commit comments

Comments
 (0)