diff options
author | Thomas White <taw@physics.org> | 2011-05-17 14:28:01 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:26 +0100 |
commit | a25bd0da6fc3b5e5a5c121690bd35631ad1e3b2b (patch) | |
tree | df17ea24e92c1eb6d757a08309c1c57094403572 /src/cell.c | |
parent | c65ac2bd1d3ba1b69349ba52d0e2a72ee2c2e25d (diff) |
Fix --cell-reduction=compare
It must be allowed to add zero multiples of an axis length, otherwise the
best it can do is a*+b*+c*, or a*+b*-c* etc.
Diffstat (limited to 'src/cell.c')
-rw-r--r-- | src/cell.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -688,7 +688,7 @@ UnitCell *match_cell(UnitCell *cell, UnitCell *template, int verbose, if ( reduce ) { ilow = -2; ihigh = 4; } else { - ilow = 1; ihigh = 1; + ilow = 0; ihigh = 1; } /* Negative values mean 1/n, positive means n, zero means zero */ |