Skip to content

Commit

Permalink
#4605 fix segfault in absence of profile placement
Browse files Browse the repository at this point in the history
  • Loading branch information
aothms committed May 6, 2024
1 parent a130601 commit 9de173d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ifcgeom/profile_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9de173d

Please sign in to comment.