aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/indexed_view.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-01-10 10:31:07 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-01-10 10:31:07 +0100
commitacd08900c9992de386c7ded14a593b2ba0a0f20e (patch)
treeb0499770033bac25ee347a800cb95ff721681f13 /test/indexed_view.cpp
parent1df2377d78c30b87099fd38b2b78021dc28f6181 (diff)
Move 'last' and 'end' to their own namespace
Diffstat (limited to 'test/indexed_view.cpp')
-rw-r--r--test/indexed_view.cpp3
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));