From 8b84801f7f5e66d4a81f10d75ff70a3526d2fefc Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 30 Sep 2016 22:49:59 +0200 Subject: bug #1310: workaround a compilation regression from 3.2 regarding triangular * homogeneous --- Eigen/src/Geometry/Homogeneous.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Eigen/src/Geometry') diff --git a/Eigen/src/Geometry/Homogeneous.h b/Eigen/src/Geometry/Homogeneous.h index 4e2213b33..a23068c8d 100644 --- a/Eigen/src/Geometry/Homogeneous.h +++ b/Eigen/src/Geometry/Homogeneous.h @@ -402,6 +402,18 @@ struct generic_product_impl, DenseShape, Homog } }; +// TODO: the following specialization is to address a regression from 3.2 to 3.3 +// In the future, this path should be optimized. +template +struct generic_product_impl, TriangularShape, HomogeneousShape, ProductTag> +{ + template + static void evalTo(Dest& dst, const Lhs& lhs, const Homogeneous& rhs) + { + dst.noalias() = lhs * rhs.eval(); + } +}; + template struct homogeneous_left_product_refactoring_helper { -- cgit v1.2.3