aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-08 15:25:40 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:18 +0100
commit9bf9a358475082f10e9c18c44adc9551fe20747b (patch)
treea6c88fc90de34766321ad30f8ffc653a61e43a30 /src/peaks.h
parent8cb16f40549e2235ed1518a303313d67c90b2db7 (diff)
Do peak integration in double precision
This avoids some integer overflow problems
Diffstat (limited to 'src/peaks.h')
-rw-r--r--src/peaks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.h b/src/peaks.h
index 2801153d..2acb249b 100644
--- a/src/peaks.h
+++ b/src/peaks.h
@@ -39,7 +39,7 @@ extern int peak_sanity_check(struct image *image, UnitCell *cell,
extern RefList *find_projected_peaks(struct image *image, UnitCell *cell,
int circular_domain, double domain_r);
extern int integrate_peak(struct image *image, int xp, int yp,
- float *xc, float *yc, float *intensity,
+ double *xc, double *yc, double *intensity,
double *pbg, double *pmax,
int do_polar, int centroid);