diff --git a/doc/CustomizingEigen.dox b/doc/CustomizingEigen.dox index 2f56e1f36..e4862b943 100644 --- a/doc/CustomizingEigen.dox +++ b/doc/CustomizingEigen.dox @@ -58,7 +58,7 @@ template void makeCeil(const MatrixBase& other) { derived() = derived().cwise().max(other.derived()); } const typename Cwise::ScalarAddReturnType -operator+(const Scalar& scalar) const { return cwise() + scalar } +operator+(const Scalar& scalar) const { return cwise() + scalar; } friend const typename Cwise::ScalarAddReturnType operator+(const Scalar& scalar, const MatrixBase& mat) { return mat + scalar; }