Commit suggestions in #3992 Thanks @RickBrice

This commit is contained in:
Thomas Krijnen
2023-11-15 11:05:06 +01:00
parent 2545f334a3
commit 3ef4e8152f
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -101,9 +101,9 @@ namespace IfcGeom {
bool binary_op_bool(OpaqueNumber* other) const {
auto nnd = dynamic_cast<NumberNativeDouble*>(other);
if (nnd) {
return new NumberNativeDouble(Fn(value_, nnd->value_));
return Fn(value_, nnd->value_);
} else {
return nullptr;
return false;
}
}