From 560e05dedaabd684dfcb29872a86871c642b5597 Mon Sep 17 00:00:00 2001 From: Joey Kleingers Date: Sat, 23 Nov 2024 08:47:07 -0500 Subject: [PATCH] Fixing compile errors. Signed-off-by: Joey Kleingers --- src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp b/src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp index 59ecbf28f1..6f0ac60d26 100644 --- a/src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp +++ b/src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp @@ -561,7 +561,7 @@ PYBIND11_MODULE(simplnx, mod) return NumericType::float64; } - std::string dtypeStr = py::str(dtype); + std::string dtypeStr = py::str(static_cast(dtype)); throw std::invalid_argument(fmt::format("Unable to convert dtype to NumericType: Unsupported dtype '{}'.", dtypeStr)); }, "Convert numpy dtype to simplnx NumericType", "dtype"_a);