diff options
Diffstat (limited to 'doc/examples/class_DynBlock.cpp')
-rw-r--r-- | doc/examples/class_DynBlock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/class_DynBlock.cpp b/doc/examples/class_DynBlock.cpp index 8407d8733..3a8b607da 100644 --- a/doc/examples/class_DynBlock.cpp +++ b/doc/examples/class_DynBlock.cpp @@ -1,10 +1,10 @@ #include <Eigen/Core.h> -USING_EIGEN_DATA_TYPES +USING_PART_OF_NAMESPACE_EIGEN using namespace std; template<typename Scalar, typename Derived> Eigen::DynBlock<Derived> -topLeftCorner(const Eigen::MatrixBase<Scalar, Derived>& m, int rows, int cols) +topLeftCorner(MatrixBase<Scalar, Derived>& m, int rows, int cols) { return m.dynBlock(0, 0, rows, cols); } |