From d12da8c92cd87b9ea9ca5aad609f9a354ee11a98 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 22 May 2014 13:58:26 +0200 Subject: partialator: Be less verbose about SVD failures --- src/post-refinement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/post-refinement.c b/src/post-refinement.c index 8fd29783..80189d0a 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -424,7 +424,7 @@ static gsl_vector *solve_svd(gsl_vector *v, gsl_matrix *M, int *n_filt, s_vec = gsl_matrix_calloc(n, n); err = gsl_linalg_SV_decomp_jacobi(SAS, s_vec, s_val); if ( err ) { - ERROR("SVD failed: %s\n", gsl_strerror(err)); + if ( verbose ) ERROR("SVD failed: %s\n", gsl_strerror(err)); gsl_matrix_free(s_vec); gsl_vector_free(s_val); gsl_matrix_free(SAS); -- cgit v1.2.3