PVS: V601 The bool type is implicitly cast to the double type

This commit is contained in:
wmayer
2020-07-17 18:02:05 +02:00
parent af9c5274b4
commit 6f06fbf36d

View File

@@ -34,7 +34,7 @@ using namespace Part;
std::string GeometryBoolExtensionPy::representation(void) const
{
std::stringstream str;
double val = getGeometryBoolExtensionPtr()->getValue();
bool val = getGeometryBoolExtensionPtr()->getValue();
str << "<GeometryBoolExtension (" ;
if(getGeometryBoolExtensionPtr()->getName().size()>0)