aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-12 23:18:34 -0700
committerThomas White <taw@physics.org>2010-06-12 23:18:34 -0700
commitc26ea56507be0632756bbcbf0ffb19716064ba55 (patch)
tree4763d97069701da4af5044479552aad8b3587e9a /src
parente86a424dce4c77b46d264cb1589cb3796544cf36 (diff)
Don't abort, tidy up commented code
Diffstat (limited to 'src')
-rw-r--r--src/calibrate-detector.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/calibrate-detector.c b/src/calibrate-detector.c
index 82a1fa28..2e704758 100644
--- a/src/calibrate-detector.c
+++ b/src/calibrate-detector.c
@@ -118,15 +118,6 @@ static void *process_image(void *pargsv)
search_peaks(&image);
-// for ( x=0; x<image.width; x++ ) {
-// for ( y=0; y<image.height; y++ ) {
-// float val = image.data[x+image.width*y];
-// if ( val > 100.0 ) {
-// pargs->sum[x+pargs->w*y] += val;
-// }
-// }
-// }
-
const int lim = INTEGRATION_RADIUS * INTEGRATION_RADIUS;
for ( i=0; i<image_feature_count(image.features); i++ ) {
@@ -192,8 +183,6 @@ static void dump_to_file(struct process_args *worker_args[], int nthreads,
snprintf(outfile, 255, "sum-%i.h5", n);
hdf5_write(outfile, total, w, h, H5T_NATIVE_DOUBLE);
-
- abort();
}