aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-17 16:34:11 +0100
committerThomas White <taw@physics.org>2015-04-20 15:50:39 +0200
commite9bdc3984e6693aff913e37c0d6afebec6511530 (patch)
treecf91783bae11ae228d71f6b4922f6fbe23dfc23f
parent57efc91e402af247d0ed6af5484837911aa95737 (diff)
Tweak debug
Can't use STATUS here if STATUS is also used inside residual() - this leads to a nice deadlock.
-rw-r--r--src/predict-refine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c
index 454c135e..9f176fbd 100644
--- a/src/predict-refine.c
+++ b/src/predict-refine.c
@@ -568,11 +568,11 @@ int refine_prediction(struct image *image, Crystal *cr)
}
/* Refine */
- STATUS("Initial residual = %e\n", residual(rps, n, image->det));
+ 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);
- STATUS("Residual after iteration %i = %e\n",
+ printf("Residual after iteration %i = %e\n",
i, residual(rps, n, image->det));
}