aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c5
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);