From f12e9c53ac6c5157133219f54e95496773d32d3f Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 29 Feb 2008 13:56:40 +0000 Subject: Patch by Gael Guennebaud: unify fixed-size and dynamic-size Block expressions, update documentation. --- doc/examples/class_FixedBlock.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/examples') diff --git a/doc/examples/class_FixedBlock.cpp b/doc/examples/class_FixedBlock.cpp index b34cf13ad..a6025231e 100644 --- a/doc/examples/class_FixedBlock.cpp +++ b/doc/examples/class_FixedBlock.cpp @@ -3,17 +3,17 @@ USING_PART_OF_NAMESPACE_EIGEN using namespace std; template -Eigen::FixedBlock +Eigen::Block topLeft2x2Corner(MatrixBase& m) { - return Eigen::FixedBlock(m.ref(), 0, 0); + return Eigen::Block(m.ref(), 0, 0); } template -const Eigen::FixedBlock +const Eigen::Block topLeft2x2Corner(const MatrixBase& m) { - return Eigen::FixedBlock(m.ref(), 0, 0); + return Eigen::Block(m.ref(), 0, 0); } int main(int, char**) -- cgit v1.2.3