diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-10 10:31:07 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-10 10:31:07 +0100 |
commit | acd08900c9992de386c7ded14a593b2ba0a0f20e (patch) | |
tree | b0499770033bac25ee347a800cb95ff721681f13 /test/indexed_view.cpp | |
parent | 1df2377d78c30b87099fd38b2b78021dc28f6181 (diff) |
Move 'last' and 'end' to their own namespace
Diffstat (limited to 'test/indexed_view.cpp')
-rw-r--r-- | test/indexed_view.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index 13eb1ef35..e04fe0cd4 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp @@ -43,6 +43,9 @@ bool match(const T& xpr, std::string ref, std::string str_xpr = "") { void check_indexed_view() { + using Eigen::placeholders::last; + using Eigen::placeholders::end; + Index n = 10; ArrayXXi A = ArrayXXi::NullaryExpr(n,n, std::ptr_fun(encode)); |