diff --git a/src/ifcgeom/profile_helper.cpp b/src/ifcgeom/profile_helper.cpp index b31689d498..477b51430c 100644 --- a/src/ifcgeom/profile_helper.cpp +++ b/src/ifcgeom/profile_helper.cpp @@ -99,7 +99,7 @@ taxonomy::loop::ptr ifcopenshell::geometry::profile_helper(const taxonomy::matri } */ - const bool has_position = !m4->is_identity(); + const bool has_position = m4 && !m4->is_identity(); // @todo precision