Skip to content

Commit 63a0071

Browse files
authored
Simplify
Signed-off-by: Axel Huebl <[email protected]>
1 parent 9b942d2 commit 63a0071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dlpack/DLPack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ void init_DLPack(py::module& m)
1010
// register types only if not already present, e.g., from another library
1111
// that also implements DLPack bindings and exposes the types
1212

13-
py::type pyDLDeviceType = py::type::of<DLDeviceType>();
13+
py::type pyDLDeviceType = false; // TODO: py::type::of<DLDeviceType>();
1414
if (!pyDLDeviceType) {
1515
py::native_enum<DLDeviceType>(m, "DLDeviceType", "enum.IntEnum")
1616
.value("kDLCPU", DLDeviceType::kDLCPU)

0 commit comments

Comments
 (0)