aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-18 11:18:13 +0100
committerThomas White <taw@physics.org>2015-04-20 15:50:39 +0200
commit6c677e891d1da131c6f985e84e6cc8dd7a9ebde5 (patch)
tree8922ed899a388ea6684b53c0b132112c9159596a /src
parent0f8947ac56036aec38f60710b2dcffa9e5499201 (diff)
Remove debugging statements
Diffstat (limited to 'src')
-rw-r--r--src/predict-refine.c3
-rw-r--r--src/process_image.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c
index 9f176fbd..6af9211f 100644
--- a/src/predict-refine.c
+++ b/src/predict-refine.c
@@ -568,12 +568,9 @@ int refine_prediction(struct image *image, Crystal *cr)
}
/* Refine */
- printf("Initial residual = %e\n", residual(rps, n, image->det));
for ( i=0; i<MAX_CYCLES; i++ ) {
iterate(rps, n, crystal_get_cell(cr), image);
update_partialities(cr, PMODEL_SCSPHERE);
- printf("Residual after iteration %i = %e\n",
- i, residual(rps, n, image->det));
}
free(rps);
diff --git a/src/process_image.c b/src/process_image.c
index 3123140d..f40b8cff 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -332,7 +332,6 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
char notes[1024];
if ( refine_prediction(&image, image.crystals[i]) ) {
- ERROR("Prediction refinement failed.\n");
crystal_set_user_flag(image.crystals[i], 1);
continue;
}