aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/geometry.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c
index 273ac7f0..744c13ea 100644
--- a/libcrystfel/src/geometry.c
+++ b/libcrystfel/src/geometry.c
@@ -384,7 +384,6 @@ void update_partialities(Crystal *cryst, PartialityModel pmodel)
{
Reflection *refl;
RefListIterator *iter;
- RefList *predicted;
double asx, asy, asz;
double bsx, bsy, bsz;
double csx, csy, csz;
@@ -401,9 +400,6 @@ void update_partialities(Crystal *cryst, PartialityModel pmodel)
cell_get_reciprocal(crystal_get_cell(cryst), &asx, &asy, &asz,
&bsx, &bsy, &bsz, &csx, &csy, &csz);
- /* Scratch list to give check_reflection() something to add to */
- predicted = reflist_new();
-
for ( refl = first_refl(crystal_get_reflections(cryst), &iter);
refl != NULL;
refl = next_refl(refl, iter) )
@@ -441,8 +437,6 @@ void update_partialities(Crystal *cryst, PartialityModel pmodel)
reflection_free(vals);
}
-
- reflist_free(predicted);
}