diff options
author | Thomas White <taw@physics.org> | 2012-01-13 17:29:31 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:43 +0100 |
commit | b7480dcea7fc188b814b26f20a3f0939f7715a74 (patch) | |
tree | c26d698c495b56ec6c3a4deacd717e1d05a86391 | |
parent | db285f5ff2a6d37f4ff73ecf72ae3a4fe1cdcf3f (diff) |
Fix uninitialised values in (unimplemented) resolution range determination
-rw-r--r-- | libcrystfel/src/peaks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 4d6fb79e..025cde12 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -296,6 +296,9 @@ void estimate_resolution(RefList *list, UnitCell *cell, Reflection *refl; RefListIterator *iter; + *min = INFINITY; + *max = 0.0; + for ( refl = first_refl(list, &iter); refl != NULL; refl = next_refl(refl, iter) ) |