diff options
author | Thomas White <taw@physics.org> | 2010-11-22 16:34:54 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:06 +0100 |
commit | df8c88903686266ae406dc8842d4e5cf2c4e3b95 (patch) | |
tree | 3c385903d499c1c718426e01f0ad10c2cb0ab0e9 | |
parent | 36bd8dc1ac224a62b9a38dcaf0fdfc3ab104c84f (diff) |
Tidy up a bit
-rw-r--r-- | src/post-refinement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 33f6780b..537c430b 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -147,7 +147,6 @@ static void apply_cell_shift(UnitCell *cell, int k, double shift) double asx, asy, asz; double bsx, bsy, bsz; double csx, csy, csz; - double a, b, c, al, be, ga; cell_get_reciprocal(cell, &asx, &asy, &asz, &bsx, &bsy, &bsz, @@ -170,6 +169,7 @@ static void apply_cell_shift(UnitCell *cell, int k, double shift) csx, csy, csz); if ( k == REF_CSZ ) { + double a, b, c, al, be, ga; cell_get_parameters(cell, &a, &b, &c, &al, &be, &ga); STATUS("New cell: %5.2f %5.2f %5.2f nm %5.2f %5.2f %5.2f deg\n", a/1.0e-9, b/1.0e-9, c/1.0e-9, |