aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/indexed_view.cpp
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2019-01-25 14:54:39 +0100
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2019-01-25 14:54:39 +0100
commit934b8a1304f4d210520c1b158c2ee3da78062532 (patch)
treec3bf06553c525a2f7794a25ecc9686fbc314b8b7 /test/indexed_view.cpp
parentec8a387972650cda5ad32da5f89659631ad3008a (diff)
Avoid `I` as an identifier, since it may clash with the C-header complex.h
Diffstat (limited to 'test/indexed_view.cpp')
-rw-r--r--test/indexed_view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp
index 6518642df..6d6ef0cd4 100644
--- a/test/indexed_view.cpp
+++ b/test/indexed_view.cpp
@@ -335,8 +335,8 @@ void check_indexed_view()
VERIFY_IS_APPROX( A(B.RowsAtCompileTime, 1), A(4,1) );
VERIFY_IS_APPROX( A(B.RowsAtCompileTime-1, B.ColsAtCompileTime-1), A(3,3) );
VERIFY_IS_APPROX( A(B.RowsAtCompileTime, B.ColsAtCompileTime), A(4,4) );
- const Index I = 3, J = 4;
- VERIFY_IS_APPROX( A(I,J), A(3,4) );
+ const Index I_ = 3, J_ = 4;
+ VERIFY_IS_APPROX( A(I_,J_), A(3,4) );
}
// check extended block API