aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/inverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/inverse.cpp')
-rw-r--r--test/inverse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/inverse.cpp b/test/inverse.cpp
index 9c7c6524c..de6b09621 100644
--- a/test/inverse.cpp
+++ b/test/inverse.cpp
@@ -37,8 +37,8 @@ template<typename MatrixType> void inverse(const MatrixType& m)
typedef typename MatrixType::Scalar Scalar;
typedef Matrix<Scalar, MatrixType::ColsAtCompileTime, 1> VectorType;
- MatrixType m1 = MatrixType::Random(rows, cols),
- m2 = MatrixType::Random(rows, cols),
+ MatrixType m1 = test_random_matrix<MatrixType>(rows, cols),
+ m2 = test_random_matrix<MatrixType>(rows, cols),
mzero = MatrixType::Zero(rows, cols),
identity = MatrixType::Identity(rows, rows);