aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-30 08:44:37 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-30 08:44:37 +0100
commit213bd0253abfdd96dcfaa54f813e13fb98fb306b (patch)
tree8e56f7b770bb2d60836409e8d7e33d5872595ca8
parent6a02c2a85df05783899ebb8c225cd8677737006c (diff)
Fix gcc 4.4 compilation issue
-rw-r--r--test/sparse_permutations.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/sparse_permutations.cpp b/test/sparse_permutations.cpp
index 8c257a3fd..b82cceff8 100644
--- a/test/sparse_permutations.cpp
+++ b/test/sparse_permutations.cpp
@@ -76,34 +76,34 @@ template<int OtherStorage, typename SparseMatrixType> void sparse_permutations(c
randomPermutationVector(pi, cols);
p.indices() = pi;
- VERIFY( is_sorted( eval(mat*p) ));
+ VERIFY( is_sorted( ::eval(mat*p) ));
VERIFY( is_sorted( res = mat*p ));
- VERIFY_TRANSPOSITION_COUNT( eval(mat*p), 0);
+ VERIFY_TRANSPOSITION_COUNT( ::eval(mat*p), 0);
//VERIFY_TRANSPOSITION_COUNT( res = mat*p, IsRowMajor ? 1 : 0 );
res_d = mat_d*p;
VERIFY(res.isApprox(res_d) && "mat*p");
- VERIFY( is_sorted( eval(p*mat) ));
+ VERIFY( is_sorted( ::eval(p*mat) ));
VERIFY( is_sorted( res = p*mat ));
- VERIFY_TRANSPOSITION_COUNT( eval(p*mat), 0);
+ VERIFY_TRANSPOSITION_COUNT( ::eval(p*mat), 0);
res_d = p*mat_d;
VERIFY(res.isApprox(res_d) && "p*mat");
VERIFY( is_sorted( (mat*p).eval() ));
VERIFY( is_sorted( res = mat*p.inverse() ));
- VERIFY_TRANSPOSITION_COUNT( eval(mat*p.inverse()), 0);
+ VERIFY_TRANSPOSITION_COUNT( ::eval(mat*p.inverse()), 0);
res_d = mat*p.inverse();
VERIFY(res.isApprox(res_d) && "mat*inv(p)");
VERIFY( is_sorted( (p*mat+p*mat).eval() ));
VERIFY( is_sorted( res = p.inverse()*mat ));
- VERIFY_TRANSPOSITION_COUNT( eval(p.inverse()*mat), 0);
+ VERIFY_TRANSPOSITION_COUNT( ::eval(p.inverse()*mat), 0);
res_d = p.inverse()*mat_d;
VERIFY(res.isApprox(res_d) && "inv(p)*mat");
VERIFY( is_sorted( (p * mat * p.inverse()).eval() ));
VERIFY( is_sorted( res = mat.twistedBy(p) ));
- VERIFY_TRANSPOSITION_COUNT( eval(p * mat * p.inverse()), 0);
+ VERIFY_TRANSPOSITION_COUNT( ::eval(p * mat * p.inverse()), 0);
res_d = (p * mat_d) * p.inverse();
VERIFY(res.isApprox(res_d) && "p*mat*inv(p)");