From 934b8a1304f4d210520c1b158c2ee3da78062532 Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Fri, 25 Jan 2019 14:54:39 +0100 Subject: Avoid `I` as an identifier, since it may clash with the C-header complex.h --- test/indexed_view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/indexed_view.cpp') 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 -- cgit v1.2.3