From 0fa05f7339fb9833fd600537620b9724e24e50e7 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 29 Apr 2020 10:06:23 +0200 Subject: [PATCH] Note on segfault --- src/ifcgeom/taxonomy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ifcgeom/taxonomy.h b/src/ifcgeom/taxonomy.h index 0a0bc1bea4..bb9613c2b0 100644 --- a/src/ifcgeom/taxonomy.h +++ b/src/ifcgeom/taxonomy.h @@ -153,7 +153,10 @@ struct bspline_curve : public curve { }; struct trimmed_curve : public curve { + // @todo The copy constructor of point3 within the variant fails on the avx instruction + // on the default gcc in Ubuntu 18.04 and a recent AMD Ryzen. Probably due to allignment. boost::variant start, end; + // @todo somehow account for the fact that curve in IFC can be trimmed curve, polyline and composite curve as well. item* basis; bool orientation;