From 16fe7d77f5332a57cfd04ba88aec730f2fd2c90a Mon Sep 17 00:00:00 2001 From: Jared Duffey Date: Fri, 22 Nov 2024 17:19:40 -0500 Subject: [PATCH] Reverted PR suggestion since the call is ambiguous on gcc/clang Signed-off-by: Jared Duffey --- 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);