mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 11:26:54 +00:00
Commit suggestions in #3992 Thanks @RickBrice
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user