diff options
author | Thomas White <taw@physics.org> | 2013-07-24 11:25:34 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-07-24 11:25:34 +0200 |
commit | 863b0ddea31ff8dc0d789f2806c6a311d826a152 (patch) | |
tree | 1424967f805a7268c8dd89d4e2329dfa3c21c940 /libcrystfel | |
parent | 8121538d79d4dad8f61e38eccbaaaec4cde5a5d4 (diff) |
update_partialities(): Scratch list no longer needed
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/geometry.c | 6 |
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); } |