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);