diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-02-16 17:21:16 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-02-16 17:21:16 +0100 |
commit | 69fa405096f16899ce625eb690440a473a7864bf (patch) | |
tree | 24e460f17c5430425bb680cc5113d4126cb8aacc /doc/examples/make_circulant.cpp.traits | |
parent | 0f464d9d876d9bf6bdfe64d7fe47cd8e35ad3c2c (diff) |
Update circulant custom expression example
Diffstat (limited to 'doc/examples/make_circulant.cpp.traits')
-rw-r--r-- | doc/examples/make_circulant.cpp.traits | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/make_circulant.cpp.traits b/doc/examples/make_circulant.cpp.traits index f91e43717..4e04535d3 100644 --- a/doc/examples/make_circulant.cpp.traits +++ b/doc/examples/make_circulant.cpp.traits @@ -1,11 +1,11 @@ namespace Eigen { namespace internal { template <class ArgType> - struct traits<Circulant<ArgType> > + struct traits<Circulant<ArgType> > { typedef Eigen::Dense StorageKind; typedef Eigen::MatrixXpr XprKind; - typedef typename ArgType::Index Index; + typedef typename ArgType::StorageIndex StorageIndex; typedef typename ArgType::Scalar Scalar; enum { Flags = Eigen::ColMajor, |