From b8422c99cdc30d585d1194e7c2e6a6c27e46c651 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Fri, 6 Jan 2023 21:14:17 +0000 Subject: [PATCH] Update file jacobisvd.cpp --- test/jacobisvd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index daf24a763..401adf0ba 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -60,7 +60,9 @@ void jacobisvd_all_options(const MatrixType& input = MatrixType()) { } template -void jacobisvd_verify_assert(const MatrixType& m = MatrixType()) { +void jacobisvd_verify_assert(const MatrixType& input = MatrixType()) { + MatrixType m(input.rows(), input.cols()); + svd_fill_random(m); svd_verify_assert(m); svd_verify_assert(m); svd_verify_assert(m);