diff options
author | Thomas White <taw@physics.org> | 2013-07-30 11:49:03 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-07-31 17:09:36 +0200 |
commit | b830360b85024eff64837cd077c57423d8eaca28 (patch) | |
tree | 97dd068d19585cbec07fe88f8e5a9e3ec9936f6b /src/partialator.c | |
parent | 71cfb2228f04a5fabf5bee541f7753f6a4019019 (diff) |
Tweak error path
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/partialator.c b/src/partialator.c index 07d7437c..819be9fe 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -220,7 +220,6 @@ static void select_reflections_for_refinement(Crystal **crystals, int n, Reflection *refl; RefListIterator *iter; int n_acc = 0; - int n_nomatch = 0; int n_noscale = 0; int n_fewmatch = 0; int n_ref = 0; @@ -263,8 +262,10 @@ static void select_reflections_for_refinement(Crystal **crystals, int n, } } else { - n_nomatch++; - set_refinable(refl, 0); + ERROR("%3i %3i %3i is scalable, but is" + " not in the reference list.\n", + h, k, l); + abort(); } } @@ -274,10 +275,6 @@ static void select_reflections_for_refinement(Crystal **crystals, int n, // "(%i not scalable, %i few matches, %i total)\n", // i, n_acc, n_noscale, n_fewmatch, n_ref); - /* This would be a silly situation, since there must be a match - * if THIS pattern has a scalable part of the reflection! */ - assert(n_nomatch == 0); - } } |