From 336ad582131f94b9e77c91c83c067dbd0c54c3fc Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 12 Jan 2009 13:41:40 +0000 Subject: * move cwise *= and /= to Core (like * and /) * tidy the StdVector module * fix warnings (especially a | instead of ||) in stdvector test --- test/stdvector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/stdvector.cpp') diff --git a/test/stdvector.cpp b/test/stdvector.cpp index ea57c0736..024f97287 100644 --- a/test/stdvector.cpp +++ b/test/stdvector.cpp @@ -53,9 +53,9 @@ void check_stdvector(const MatrixType& m) // do a lot of push_back such that the vector gets internally resized // (with memory reallocation) MatrixType* ref = &w[0]; - for(int i=0; i<30 | ((ref==&w[0]) && i<300); ++i) + for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) v.push_back(w[i%w.size()]); - for(int i=23; i