From 558bd5d95a448679b8e44c6c2af56962d48d1cc3 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 29 Apr 2019 16:42:50 +0200 Subject: [PATCH] Fixed usage of template method, worked only on non-standard MS compiler. --- src/admesh/stl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)