diff --git a/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp b/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp index d1a7a1702c..17ba88a031 100644 --- a/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp +++ b/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp @@ -59,9 +59,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2PlacementLinear* inst) refDirection = m->components().col(1).head<3>(); - axis(0) = m->components().col(2)(0); - axis(1) = m->components().col(2)(1); - axis(2) = m->components().col(2)(2); + axis = m->components().col(2).head<3>(); } return taxonomy::make(o, axis, refDirection); }