From 02ee26a3a51675969016bab4e3e406d58b0979b6 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 6 Feb 2011 12:43:01 -0500 Subject: fix build of class Block examples --- doc/examples/class_FixedBlock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/examples/class_FixedBlock.cpp') diff --git a/doc/examples/class_FixedBlock.cpp b/doc/examples/class_FixedBlock.cpp index 5e0e53da3..9978b32e8 100644 --- a/doc/examples/class_FixedBlock.cpp +++ b/doc/examples/class_FixedBlock.cpp @@ -11,10 +11,10 @@ topLeft2x2Corner(MatrixBase& m) } template -const Eigen::Block +const Eigen::Block topLeft2x2Corner(const MatrixBase& m) { - return Eigen::Block(m.derived(), 0, 0); + return Eigen::Block(m.derived(), 0, 0); } int main(int, char**) -- cgit v1.2.3