aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Dot.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-05-15 09:40:11 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-05-15 09:40:11 +0000
commitc6789a279c4def1ba33f6481ac7f9df68ba5f32b (patch)
tree1c920b7214c25a7e7156a986575bf5c1295074b4 /Eigen/src/Core/Dot.h
parent5da60897abba95e4b0c9928dce0f1f18efab4580 (diff)
Fix compilation issues with MSVC and NVCC.
Added a few typedef of complex return types in MatrixBase (Needed by MSVC)
Diffstat (limited to 'Eigen/src/Core/Dot.h')
-rw-r--r--Eigen/src/Core/Dot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h
index b0ec14a33..0284ffd75 100644
--- a/Eigen/src/Core/Dot.h
+++ b/Eigen/src/Core/Dot.h
@@ -132,7 +132,7 @@ inline typename NumTraits<typename ei_traits<Derived>::Scalar>::Real MatrixBase<
* \sa norm()
*/
template<typename Derived>
-inline const CwiseUnaryOp<ei_scalar_multiple_op<typename ei_traits<Derived>::Scalar>, Derived>
+inline const typename MatrixBase<Derived>::ScalarMultipleReturnType
MatrixBase<Derived>::normalized() const
{
return (*this) * (RealScalar(1)/norm());