From 6965f6de7fec13f29ad95713a031c520efd3265c Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Thu, 19 Dec 2019 13:42:14 +0100 Subject: Fix unit-test which I broke in previous fix --- test/bdcsvd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/bdcsvd.cpp') diff --git a/test/bdcsvd.cpp b/test/bdcsvd.cpp index ed35fc741..e92a7dc97 100644 --- a/test/bdcsvd.cpp +++ b/test/bdcsvd.cpp @@ -29,8 +29,10 @@ template void bdcsvd(const MatrixType& a = MatrixType(), bool pickrandom = true) { MatrixType m; - if(pickrandom) + if(pickrandom) { + m.resizeLike(a); svd_fill_random(m); + } else m = a; -- cgit v1.2.3