Skip to content

Commit b5fe638

Browse files
committed
[RDF] Added spaces in cpptypes dict
1 parent 91f21cc commit b5fe638

File tree

1 file changed

+1
-1
lines changed
  • bindings/pyroot/pythonizations/python/ROOT/_pythonization

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676

7777
def _get_cpp_type_from_numpy_type(dtype):
78-
cpptypes = {"i4": "int", "u4": "unsigned int", "i8": "Long64_t", "u8": "ULong64_t", "f4": "float", "f8": "double", "b1":"bool", "i1":"int8_t", "u1":"uint8_t", "i2":"int16_t", "u2":"uint16_t"}
78+
cpptypes = {"i4": "int", "u4": "unsigned int", "i8": "Long64_t", "u8": "ULong64_t", "f4": "float", "f8": "double", "b1": "bool", "i1": "int8_t", "u1": "uint8_t", "i2": "int16_t", "u2": "uint16_t"}
7979

8080
if not dtype in cpptypes:
8181
raise RuntimeError("Object not convertible: Python object has unknown data-type '" + dtype + "'.")

0 commit comments

Comments
 (0)