diff --git a/src/common.h b/src/common.h index e81b417..6be9148 100644 --- a/src/common.h +++ b/src/common.h @@ -13,6 +13,7 @@ #include namespace py = pybind11; +using namespace pybind11::literals; #if PY_MAJOR_VERSION >= 3 #define PY_DIV "__truediv__" diff --git a/src/utility/shortestPaths.cpp b/src/utility/shortestPaths.cpp index 13b8c34..89caa27 100644 --- a/src/utility/shortestPaths.cpp +++ b/src/utility/shortestPaths.cpp @@ -3,7 +3,6 @@ #include -using namespace pybind11::literals; void define_ksp(py::module& m) {