aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/indexed_view.cpp
diff options
context:
space:
mode:
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));