diff options
author | Thomas White <taw@physics.org> | 2012-03-06 17:34:58 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-03-06 17:34:58 +0100 |
commit | ed0bcf1cc4be9af77eb993f1406dc991c10345d3 (patch) | |
tree | ea9a378b7f6d51a3e609eb07b0cb5da92658f590 /libcrystfel/src/peaks.c | |
parent | a4ab18ed5fb5be7e9331215fcf6381a8edb6abf7 (diff) |
Add "err" to get_tt()
Diffstat (limited to 'libcrystfel/src/peaks.c')
-rw-r--r-- | libcrystfel/src/peaks.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 3c383855..d0183371 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -229,7 +229,9 @@ int integrate_peak(struct image *image, int cfs, int css, if ( do_polar ) { - tt = get_tt(image, fs+cfs, ss+css); + int err; + + tt = get_tt(image, fs+cfs, ss+css, &err); phi = atan2(ss+css, fs+cfs); pa = pow(sin(phi)*sin(tt), 2.0); |