diff options
author | Thomas White <taw@physics.org> | 2013-08-01 09:58:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-08-01 09:58:11 +0200 |
commit | 2d666a28912916b82694dc1c0df8d52571cff2b0 (patch) | |
tree | 49f859102c751c30ac7e68ad9edc7401b46a2dc2 /src | |
parent | 099e243acdb59d19395786b15e7ea3228a413b04 (diff) |
Fix previous commit
Diffstat (limited to 'src')
-rw-r--r-- | src/post-refinement.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 041f3a00..3082aa74 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -395,7 +395,6 @@ static gsl_vector *solve_svd(gsl_vector *v, gsl_matrix *M) gsl_vector_free(s_val); gsl_matrix_free(SAS); gsl_matrix_free(S); - crystal_set_user_flag(cr, 1); return NULL; } /* "SAS" is now "U" */ @@ -419,7 +418,6 @@ static gsl_vector *solve_svd(gsl_vector *v, gsl_matrix *M) ERROR("Matrix solution failed: %s\n", gsl_strerror(err)); gsl_matrix_free(S); gsl_vector_free(SinvX); - crystal_set_user_flag(cr, 1); return NULL; } @@ -550,8 +548,7 @@ static double pr_iterate(Crystal *cr, const RefList *full, } } else { - ERROR("Problem solving equations.\n"); - /* Leave things as they were */ + crystal_set_user_flag(cr, 1); } gsl_matrix_free(M); |