diff --git a/imperative/python/src/common.cpp b/imperative/python/src/common.cpp index 047a0f80..d4ef442e 100644 --- a/imperative/python/src/common.cpp +++ b/imperative/python/src/common.cpp @@ -16,7 +16,7 @@ void init_common(py::module m) { py::class_(m, "CompNode") .def(py::init()) .def(py::init(py::overload_cast(&CompNode::load))) - .def("__str__", &CompNode::to_string) + .def("__str__", &CompNode::to_string_logical) .def_static("_sync_all", &CompNode::sync_all) .def(py::self == py::self) .def_static("_get_device_count", &CompNode::get_device_count,