Fix issue in CurveSegment

This commit is contained in:
Thomas Krijnen
2025-03-28 12:08:10 +01:00
parent c935b2fc12
commit 61c4797b8f
+1 -1
View File
@@ -67,7 +67,7 @@ double translate_if_param_value(const IfcSchema::IfcCurve* crv, IfcSchema::IfcCu
// We don't care whether length- or positive length measure.
return translate_to_length_measure(crv, *param);
} else {
return val->data().get_attribute_value(0);
return val->as<IfcUtil::IfcBaseClass>()->get_attribute_value(0);
}
}