From 863b0ddea31ff8dc0d789f2806c6a311d826a152 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 24 Jul 2013 11:25:34 +0200 Subject: update_partialities(): Scratch list no longer needed --- libcrystfel/src/geometry.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libcrystfel/src/geometry.c') 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); } -- cgit v1.2.3