aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-08 17:47:08 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commitf642bbb5cf02a5be7ae64b44251cdfa46d8643a0 (patch)
tree116f7123b2d219068137cf54b76f7465ab22b261
parent11f2f894db82b35e9beb83d30a70ee26ae53b78b (diff)
Felix: remove a useless call
-rw-r--r--libcrystfel/src/felix.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcrystfel/src/felix.c b/libcrystfel/src/felix.c
index 2e4898e6..4f6372f4 100644
--- a/libcrystfel/src/felix.c
+++ b/libcrystfel/src/felix.c
@@ -384,7 +384,6 @@ static char *write_ini(struct image *image, struct felix_private *gp)
char *filename;
char gveFilename[1024];
char logFilename[1024];
- double tt;
filename = malloc(1024);
if ( filename == NULL ) return NULL;
@@ -400,11 +399,6 @@ static char *write_ini(struct image *image, struct felix_private *gp)
return NULL;
}
- get_q_for_panel(image->det->furthest_out_panel,
- image->det->furthest_out_fs,
- image->det->furthest_out_ss,
- &tt, 1.0/image->lambda);
-
fprintf(fh, "spacegroup %i\n", gp->spacegroup);
fprintf(fh, "tthrange %f %f\n", rad2deg(gp->tthrange_min),
rad2deg(gp->tthrange_max));