aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_trmm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/product_trmm.cpp')
-rw-r--r--test/product_trmm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/product_trmm.cpp b/test/product_trmm.cpp
index a689deba6..382618492 100644
--- a/test/product_trmm.cpp
+++ b/test/product_trmm.cpp
@@ -31,8 +31,8 @@ template<typename Scalar> void trmm(int size,int /*othersize*/)
typedef Matrix<Scalar,Dynamic,Dynamic,ColMajor> MatrixColMaj;
typedef Matrix<Scalar,Dynamic,Dynamic,RowMajor> MatrixRowMaj;
- int rows = size;
- int cols = ei_random<int>(1,size);
+ DenseIndex rows = size;
+ DenseIndex cols = ei_random<DenseIndex>(1,size);
MatrixColMaj triV(rows,cols), triH(cols,rows), upTri(cols,rows), loTri(rows,cols),
unitUpTri(cols,rows), unitLoTri(rows,cols);