commit | 73f692d16b544d619c2234259f4086cc93c577df | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Tue Oct 27 11:01:37 2015 +0100 |
committer | Gael Guennebaud <g.gael@free.fr> | Tue Oct 27 11:01:37 2015 +0100 |
tree | 0ecdaa5ef6b936671cd784736eac320510268e7f | |
parent | e6f8c5c325fca53b53436b6bd8d66749444216bb [diff] [blame] |
Fix ambiguous instantiation
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index e8ebd70..d8e42e9 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp
@@ -438,7 +438,7 @@ { Index i = internal::random<Index>(0,rows-1); Index j = internal::random<Index>(0,rows-1); - Index v = internal::random<Scalar>(); + Scalar v = internal::random<Scalar>(); m1.coeffRef(i,j) = v; refMat1.coeffRef(i,j) = v; VERIFY_IS_APPROX(m1, refMat1);