diff options
author | Thomas White <taw@physics.org> | 2010-05-28 17:17:57 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-05-28 17:17:57 +0200 |
commit | d5899847b31eaaffd676f23dbc3538f06cc2faec (patch) | |
tree | 1307f04c9a0d46e54a684a5b1a9f69e1ab436754 /src/peaks.c | |
parent | 361bbacf1b17cdf57b8870dc8b560ff1a6831b1f (diff) |
Fix WEIRD Valgrind warnings
Diffstat (limited to 'src/peaks.c')
-rw-r--r-- | src/peaks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c index 9d5c305b..22e12949 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -164,7 +164,7 @@ static void integrate_peak(struct image *image, int xp, int yp, Lsq = pow(p->clen, 2.0); /* Area of pixel as seen from crystal (approximate) */ - get_q(image, x+xp, y+yp, 1, &tt, 1.0 / image->lambda); + tt = get_tt(image, x+xp, y+yp); proj_area = pix_area * cos(tt); /* Calculate distance from crystal to pixel */ |