diff options
author | Thomas White <taw@physics.org> | 2012-09-26 15:32:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-10-02 15:02:12 +0200 |
commit | 7b31c8f41732b6ca5402afd8fe6cb4d6e185bc48 (patch) | |
tree | 1d5598158c1ec15bcc7120f73aab34ce12e866da /libcrystfel/src/cell-utils.c | |
parent | a670d325edde9b4580ef31afaad988456660c4ff (diff) |
Formatting
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r-- | libcrystfel/src/cell-utils.c | 13 |
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'; |