aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-09-26 15:32:32 +0200
committerThomas White <taw@physics.org>2012-10-02 15:02:12 +0200
commit7b31c8f41732b6ca5402afd8fe6cb4d6e185bc48 (patch)
tree1d5598158c1ec15bcc7120f73aab34ce12e866da /libcrystfel/src/cell-utils.c
parenta670d325edde9b4580ef31afaad988456660c4ff (diff)
Formatting
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r--libcrystfel/src/cell-utils.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c
index 9b65cae3..2f966466 100644
--- a/libcrystfel/src/cell-utils.c
+++ b/libcrystfel/src/cell-utils.c
@@ -315,10 +315,9 @@ static UnitCellTransformation *uncentering_transformation(UnitCell *in,
break;
case 'I' :
- tfn_combine(t, tfn_vector(-H,H,H),
- tfn_vector(H,-H,H),
- tfn_vector(H,H,-H));
- /* FIXME: How to handle the change of lattice type? */
+ tfn_combine(t, tfn_vector(-H,H,H),
+ tfn_vector(H,-H,H),
+ tfn_vector(H,H,-H));
if ( lt == L_CUBIC ) {
*new_latt = L_RHOMBOHEDRAL;
*new_centering = 'R';
@@ -330,9 +329,9 @@ static UnitCellTransformation *uncentering_transformation(UnitCell *in,
break;
case 'F' :
- tfn_combine(t, tfn_vector(0,H,H),
- tfn_vector(H,0,H),
- tfn_vector(H,H,0));
+ tfn_combine(t, tfn_vector(0,H,H),
+ tfn_vector(H,0,H),
+ tfn_vector(H,H,0));
if ( lt == L_CUBIC ) {
*new_latt = L_RHOMBOHEDRAL;
*new_centering = 'R';