aboutsummaryrefslogtreecommitdiff
path: root/src/predict-refine.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-04-23 12:06:08 +0200
committerThomas White <taw@physics.org>2015-04-28 14:47:19 +0200
commit51fc27d06e7cde3e0e57415d06624a7be712aed2 (patch)
treeb23eeb866d693b15e5c01aa4858a365d0b489fbc /src/predict-refine.c
parentdb9b3f49323dcac5c1b762da9feb25ff532e03e7 (diff)
Fix debug
Diffstat (limited to 'src/predict-refine.c')
-rw-r--r--src/predict-refine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c
index c11ef315..c0e2aad5 100644
--- a/src/predict-refine.c
+++ b/src/predict-refine.c
@@ -654,7 +654,7 @@ static double residual(struct reflpeak *rps, int n, struct detector *det)
for ( i=0; i<n; i++ ) {
r += pow(y_dev(&rps[i], det), 2.0);
}
- printf("%e ", r);
+ printf("%e\n", r);
res += r;
return res;