From 8ea8b481de07169706343f35f928eac845b706fe Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 24 Oct 2008 21:42:03 +0000 Subject: As discussed on ML: * remove the automatic resizing feature of operator = * add function Matrix::set() to be used when the previous behavior is wanted * the default constructor of dynamic-size matrices now creates a "null" matrix (data=0, rows = cols = 0) instead of a 1x1 matrix * fix UnixX typos ;) --- test/product.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/product.h') diff --git a/test/product.h b/test/product.h index f1a16cf1f..5ca56d995 100644 --- a/test/product.h +++ b/test/product.h @@ -67,7 +67,7 @@ template void product(const MatrixType& m) RowVectorType v1 = RowVectorType::Random(rows), v2 = RowVectorType::Random(rows), vzero = RowVectorType::Zero(rows); - ColVectorType vc2 = ColVectorType::Random(cols), vcres; + ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); OtherMajorMatrixType tm1 = m1; Scalar s1 = ei_random(); -- cgit v1.2.3