diff options
-rw-r--r-- | libcrystfel/src/cell-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c index e9e7aaec..b56df2c9 100644 --- a/libcrystfel/src/cell-utils.c +++ b/libcrystfel/src/cell-utils.c @@ -1956,12 +1956,12 @@ IntegerMatrix *reduce_g6(struct g6 g, double epsrel) } if ( GT(g.E, 0.0) ) { ijk[1] = -1; - } else if ( !LT(g.D, 0.0) ) { + } else if ( !LT(g.E, 0.0) ) { z = 1; } if ( GT(g.F, 0.0) ) { ijk[2] = -1; - } else if ( !LT(g.D, 0.0) ) { + } else if ( !LT(g.F, 0.0) ) { z = 2; } if ( ijk[0]*ijk[1]*ijk[2] < 0 ) { |