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