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
@@ -118,9 +118,9 @@ namespace ifcopenshell { namespace geometry {
bool binary_op_bool(OpaqueNumber* other) const {
auto nnd = dynamic_cast<NumberEpeck*>(other);
if (nnd) {
return new NumberEpeck(Fn(value_, nnd->value_));
return Fn(value_, nnd->value_);
} else {
return nullptr;
return false;
}
}