Skip to content

Commit

Permalink
Reverted PR suggestion since the call is ambiguous on gcc/clang
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Duffey <[email protected]>
  • Loading branch information
JDuffeyBQ committed Nov 22, 2024
1 parent 228034b commit 16fe7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ PYBIND11_MODULE(simplnx, mod)
return NumericType::float64;
}

std::string dtypeStr = py::str(dtype);
std::string dtypeStr = py::str(static_cast<py::object>(dtype));
throw std::invalid_argument(fmt::format("Unable to convert dtype to NumericType: Unsupported dtype '{}'.", dtypeStr));
},
"Convert numpy dtype to simplnx NumericType", "dtype"_a);
Expand Down

0 comments on commit 16fe7d7

Please sign in to comment.