aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-08 11:58:51 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:32 +0100
commit8d936be13863254963787dc492448792203bb1c0 (patch)
tree564f5ac8a048f0ab5b0c4b29621f7a01d0d8ee98 /src/partialator.c
parent5d6141ce7420132ea1d59b6a199e606625a6ce12 (diff)
Make post refinement go a LOT faster
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 252d6cfd..b3d40b02 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -452,8 +452,7 @@ int main(int argc, char *argv[])
reflist_free(cur->reflections);
cur->reflections = as;
- predict_corresponding_reflections(cur, sym, &n_expected,
- &n_found, &n_notfound);
+ update_partialities(cur, &n_expected, &n_found, &n_notfound);
nobs += select_scalable_reflections(cur->reflections,
reference);
@@ -513,9 +512,8 @@ int main(int argc, char *argv[])
struct image *cur = &images[j];
- predict_corresponding_reflections(cur, sym, &n_expected,
- &n_found,
- &n_notfound);
+ update_partialities(cur, &n_expected,
+ &n_found, &n_notfound);
nobs += select_scalable_reflections(cur->reflections,
reference);