From 5f43a42ee75bac32acd1c8f88c31e374fa9b297b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 21 Jan 2009 17:10:23 +0000 Subject: * remove set(), revert to old behavior where = resizes * try to be clever in matrix ctors and operator=: be lazy when we can, always allow to copy rowvector into columnvector, check the template parameters, try to factor the code better * add missing copy ctor in UnalignedType * fix bug in the traits of DiagonalProduct * renaming: EIGEN_TUNE_FOR_CPU_CACHE_SIZE * update the dox a little --- test/qtvector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/qtvector.cpp') diff --git a/test/qtvector.cpp b/test/qtvector.cpp index cc938885a..a04002c36 100644 --- a/test/qtvector.cpp +++ b/test/qtvector.cpp @@ -47,7 +47,7 @@ void check_qtvector_matrix(const MatrixType& m) } v.resize(21); - v[20].set(x); + v[20] = x; VERIFY_IS_APPROX(v[20], x); v.fill(y,22); //v.resize(22); @@ -97,7 +97,7 @@ void check_qtvector_transform(const TransformType&) TransformType* ref = &w[0]; for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) v.push_back(w[i%w.size()]); - for(unsigned int i=23; i