diff options
Diffstat (limited to 'test/miscmatrices.cpp')
-rw-r--r-- | test/miscmatrices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/miscmatrices.cpp b/test/miscmatrices.cpp index b14bca61c..327ceaedb 100644 --- a/test/miscmatrices.cpp +++ b/test/miscmatrices.cpp @@ -36,7 +36,7 @@ template<typename MatrixType> void miscMatrices(const MatrixType& m) Index rows = m.rows(); Index cols = m.cols(); - Index r = ei_random<Index>(0, rows-1), r2 = ei_random<Index>(0, rows-1), c = ei_random<Index>(0, cols-1); + Index r = internal::random<Index>(0, rows-1), r2 = internal::random<Index>(0, rows-1), c = internal::random<Index>(0, cols-1); VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1)); MatrixType m1 = MatrixType::Ones(rows,cols); VERIFY_IS_APPROX(m1(r,c), static_cast<Scalar>(1)); |