Core: Fix the MSVC 14.29 build of the scalar-multiple blas_traits libeigen/eigen!3672 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
diff --git a/Eigen/src/Core/util/BlasUtil.h b/Eigen/src/Core/util/BlasUtil.h index 83032cb..3bf0072 100644 --- a/Eigen/src/Core/util/BlasUtil.h +++ b/Eigen/src/Core/util/BlasUtil.h
@@ -641,9 +641,10 @@ // of Constant(...).cwiseProduct(NestedXpr) need not have it, and then nothing is popped. template <typename XprType, typename NestedXpr, bool Pop = has_layout_of<XprType, NestedXpr>::value> struct left_scalar_multiple_blas_traits : default_blas_traits<XprType> {}; -template <typename XprType, typename NestedXpr> -struct left_scalar_multiple_blas_traits<XprType, NestedXpr, true> : blas_traits<NestedXpr> { +template <typename ProductXpr, typename NestedXpr> +struct left_scalar_multiple_blas_traits<ProductXpr, NestedXpr, true> : blas_traits<NestedXpr> { enum { HasScalarFactor = true }; + using XprType = ProductXpr; using Scalar = typename traits<XprType>::Scalar; using Base = blas_traits<NestedXpr>; using ExtractType = typename Base::ExtractType;