diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-13 20:19:14 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-13 20:19:14 +0000 |
commit | 95dc68dc8682605651583dfd83aef742f87170f4 (patch) | |
tree | e1cbeeacd794f767dcdf2a24993bd2e5d9cd3393 /doc/examples/class_Block.cpp | |
parent | 89a134ba0b40b7cfc4554e3f06813fd32bbe2ede (diff) |
renaming:
Block -> FixedBlock
DynBlock -> Block
indeed, previous commit solves the main issue with DynBlock so
is should now be the more commonly used one.
Diffstat (limited to 'doc/examples/class_Block.cpp')
-rw-r--r-- | doc/examples/class_Block.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/class_Block.cpp b/doc/examples/class_Block.cpp index a6025231e..b34cf13ad 100644 --- a/doc/examples/class_Block.cpp +++ b/doc/examples/class_Block.cpp @@ -3,17 +3,17 @@ USING_PART_OF_NAMESPACE_EIGEN using namespace std; template<typename Scalar, typename Derived> -Eigen::Block<Derived, 2, 2> +Eigen::FixedBlock<Derived, 2, 2> topLeft2x2Corner(MatrixBase<Scalar, Derived>& m) { - return Eigen::Block<Derived, 2, 2>(m.ref(), 0, 0); + return Eigen::FixedBlock<Derived, 2, 2>(m.ref(), 0, 0); } template<typename Scalar, typename Derived> -const Eigen::Block<Derived, 2, 2> +const Eigen::FixedBlock<Derived, 2, 2> topLeft2x2Corner(const MatrixBase<Scalar, Derived>& m) { - return Eigen::Block<Derived, 2, 2>(m.ref(), 0, 0); + return Eigen::FixedBlock<Derived, 2, 2>(m.ref(), 0, 0); } int main(int, char**) |