diff options
author | Thomas White <taw@physics.org> | 2014-05-22 13:58:26 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-05-22 13:58:26 +0200 |
commit | d12da8c92cd87b9ea9ca5aad609f9a354ee11a98 (patch) | |
tree | d7e28d0b21ae42e043e42016e5bb0247c9510b0d | |
parent | 97af6be432dee3eeb396ab015515ef3b3883c883 (diff) |
partialator: Be less verbose about SVD failures
-rw-r--r-- | src/post-refinement.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |