diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-12-02 22:05:49 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:42 +0100 |
commit | e0974555883d29271ba142f258fbf5d7b0c2c8bd (patch) | |
tree | 69e47ea2c1fd06a2ed55d5c56761cbe76f8bb67a | |
parent | 01178a2879889e2e5955e364f7c06bc7781bf046 (diff) |
Remove mysterious centroid=0 in integrate_peak()
-rw-r--r-- | libcrystfel/src/peaks.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index e94d87be..82ce1cf3 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -254,7 +254,6 @@ int integrate_peak(struct image *image, int cfs, int css, noise_mean = noise / noise_counts; /* photons */ /* The centroid is excitingly undefined if there is no intensity */ - centroid = 0; if ( centroid && (total != 0) ) { *pfs = ((double)fsct / total) + 0.5; *pss = ((double)ssct / total) + 0.5; |