aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/GeneralProduct.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-11-18 10:09:33 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-11-18 10:09:33 +0100
commitcebff7e3a22d3fde9f83f11fc44a4e8166e6cc2d (patch)
tree1155675e340e33a1670a0bc5fa17ed446a584c64 /Eigen/src/Core/GeneralProduct.h
parenta6a3fd070305b2b4e6f97e10868cb227f9028117 (diff)
bug #1343: fix compilation regression in array = matrix_product
Diffstat (limited to 'Eigen/src/Core/GeneralProduct.h')
-rw-r--r--Eigen/src/Core/GeneralProduct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/GeneralProduct.h b/Eigen/src/Core/GeneralProduct.h
index a8c83f168..0cc2d08e2 100644
--- a/Eigen/src/Core/GeneralProduct.h
+++ b/Eigen/src/Core/GeneralProduct.h
@@ -264,7 +264,7 @@ template<> struct gemv_dense_selector<OnTheRight,ColMajor,true>
if (!evalToDest)
{
if(!alphaIsCompatible)
- dest += actualAlpha * MappedDest(actualDestPtr, dest.size());
+ dest.matrix() += actualAlpha * MappedDest(actualDestPtr, dest.size());
else
dest = MappedDest(actualDestPtr, dest.size());
}