diff --git a/src/admesh/stl.h b/src/admesh/stl.h index 07e8b6c3dc..1fe7ab05a4 100644 --- a/src/admesh/stl.h +++ b/src/admesh/stl.h @@ -214,7 +214,7 @@ inline void stl_transform(stl_file *stl, const Eigen::Transformerror) return; - const Eigen::Matrix r = t.matrix().block<3, 3>(0, 0); + const Eigen::Matrix r = t.matrix().template block<3, 3>(0, 0); for (size_t i = 0; i < stl->stats.number_of_facets; ++i) { stl_facet &f = stl->facet_start[i]; for (size_t j = 0; j < 3; ++j)