diff options
author | Thomas White <taw@physics.org> | 2011-06-21 15:21:06 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:29 +0100 |
commit | c5b7f528a2cc1bbbf8610c47d6e5abc4636b9a5d (patch) | |
tree | d1ea5b29b965a64d2772492339d50a003d156dfd | |
parent | d556a9c9df9f888835bc452e997971ca280ea234 (diff) |
Don't forget to initialise counts to zero
-rw-r--r-- | src/geometry.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/geometry.c b/src/geometry.c index e0714694..9b937b24 100644 --- a/src/geometry.c +++ b/src/geometry.c @@ -320,6 +320,10 @@ void update_partialities(struct image *image, const char *sym, RefListIterator *iter; RefList *predicted; + *n_expected = 0; + *n_found = 0; + *n_notfound = 0; + predicted = find_intersections(image, image->indexed_cell); for ( refl = first_refl(predicted, &iter); |