aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-30 16:58:29 +0200
committerThomas White <taw@physics.org>2014-09-30 16:58:29 +0200
commit015ffcd77acc4b7f3178753b21e6591fd8212e4c (patch)
tree45f96bce23cb229067bfaf97434b9fd621b695ee /src/process_image.c
parentb57deca8061316d2fc09dedcf8a91fa7523f081f (diff)
Cell vector gradients for SCSphere, plus general rationalisation
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/process_image.c b/src/process_image.c
index f4392efe..85574067 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -85,11 +85,10 @@ static void refine_radius(Crystal *cr)
{
double i = get_intensity(refl);
double rlow, rhigh, p;
- int cl, ch;
- get_partial(refl, &rlow, &rhigh, &p, &cl, &ch);
- fprintf(fh, "%e %10f %e %e %f %i %i\n", (rhigh+rlow)/2.0, i,
- rlow, rhigh, p, cl, ch);
+ get_partial(refl, &rlow, &rhigh, &p);
+ fprintf(fh, "%e %10f %e %e %f\n", (rhigh+rlow)/2.0, i,
+ rlow, rhigh, p);
vals[(2*n)+0] = i;
vals[(2*n)+1] = (rhigh+rlow)/2.0;