From 67a986bb2dff26d51a1044a42804901bbb94a3fd Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 17 Jul 2020 18:02:05 +0200 Subject: [PATCH] PVS: V601 The bool type is implicitly cast to the double type --- src/Mod/Part/App/GeometryBoolExtensionPyImp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/App/GeometryBoolExtensionPyImp.cpp b/src/Mod/Part/App/GeometryBoolExtensionPyImp.cpp index 098fb28f44..7d46390eac 100644 --- a/src/Mod/Part/App/GeometryBoolExtensionPyImp.cpp +++ b/src/Mod/Part/App/GeometryBoolExtensionPyImp.cpp @@ -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 << "getName().size()>0)