From 469b8aa380323f89c59cfd4cde4f9849aa5b9cc7 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 3 May 2009 15:39:37 +0000 Subject: [PATCH] "forgot to commit the required changes in stdvector unit test" --- test/stdvector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/stdvector.cpp b/test/stdvector.cpp index 998945a6e..10788a77f 100644 --- a/test/stdvector.cpp +++ b/test/stdvector.cpp @@ -32,7 +32,7 @@ void check_stdvector_matrix(const MatrixType& m) int rows = m.rows(); int cols = m.cols(); MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols); - std::vector v(10, MatrixType(rows,cols)), w(20, y); + std::vector > v(10, MatrixType(rows,cols)), w(20, y); v[5] = x; w[6] = v[5]; VERIFY_IS_APPROX(w[6], v[5]); @@ -67,7 +67,7 @@ void check_stdvector_transform(const TransformType&) { typedef typename TransformType::MatrixType MatrixType; TransformType x(MatrixType::Random()), y(MatrixType::Random()); - std::vector v(10), w(20, y); + std::vector > v(10), w(20, y); v[5] = x; w[6] = v[5]; VERIFY_IS_APPROX(w[6], v[5]); @@ -102,7 +102,7 @@ void check_stdvector_quaternion(const QuaternionType&) { typedef typename QuaternionType::Coefficients Coefficients; QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); - std::vector v(10), w(20, y); + std::vector > v(10), w(20, y); v[5] = x; w[6] = v[5]; VERIFY_IS_APPROX(w[6], v[5]);