aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/array_for_matrix.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-02 09:45:57 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-02 09:45:57 +0200
commit4ebb80490ab24c41e066c6a3082b29777adbb6e5 (patch)
tree5f645620b51f4c52a6a1ba20913040a941f2371d /test/array_for_matrix.cpp
parent314bfa13753f153d44ff76a1c8ce0206616b06d9 (diff)
implicit conversion to scalar for inner product
Diffstat (limited to 'test/array_for_matrix.cpp')
-rw-r--r--test/array_for_matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/array_for_matrix.cpp b/test/array_for_matrix.cpp
index 477d1788d..5d0b9bbbd 100644
--- a/test/array_for_matrix.cpp
+++ b/test/array_for_matrix.cpp
@@ -37,10 +37,10 @@ template<typename MatrixType> void array_for_matrix(const MatrixType& m)
MatrixType m1 = MatrixType::Random(rows, cols),
m2 = MatrixType::Random(rows, cols),
m3(rows, cols);
-
+
ColVectorType cv1 = ColVectorType::Random(rows);
RowVectorType rv1 = RowVectorType::Random(cols);
-
+
Scalar s1 = ei_random<Scalar>(),
s2 = ei_random<Scalar>();