From 018cb8975a22101bd461d1f875984d9382948f85 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 17 Jan 2010 19:55:08 +0100 Subject: [PATCH] fix plugin doc --- doc/CustomizingEigen.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/CustomizingEigen.dox b/doc/CustomizingEigen.dox index e4862b943..4dcb15c66 100644 --- a/doc/CustomizingEigen.dox +++ b/doc/CustomizingEigen.dox @@ -57,10 +57,10 @@ void makeFloor(const MatrixBase& other) { derived() = derived().cw template void makeCeil(const MatrixBase& other) { derived() = derived().cwise().max(other.derived()); } -const typename Cwise::ScalarAddReturnType +const const CwiseUnaryOp, Derived> operator+(const Scalar& scalar) const { return cwise() + scalar; } -friend const typename Cwise::ScalarAddReturnType +friend const CwiseUnaryOp, Derived> operator+(const Scalar& scalar, const MatrixBase& mat) { return mat + scalar; } \endcode