diff options
author | Thomas White <taw@physics.org> | 2012-05-30 17:17:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-05-30 17:17:11 +0200 |
commit | 4e0fe58f0d35f2a73f718917b2b99dc17fb9f7dd (patch) | |
tree | 4b1279360d9d4de28825e4608f554c187ed6ee0d /src/post-refinement.c | |
parent | 781b32aa84eb9fb3092636beb3f6e4fee43add6c (diff) |
Formatting
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r-- | src/post-refinement.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index cf7b2576..78c47d07 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -241,7 +241,7 @@ static void apply_shift(struct image *image, int k, double shift) { switch ( k ) { - case REF_DIV : + case REF_DIV : if ( isnan(shift) ) { ERROR("NaN divergence shift\n"); } else { @@ -250,23 +250,23 @@ static void apply_shift(struct image *image, int k, double shift) } break; - case REF_R : + case REF_R : image->profile_radius += shift; break; - case REF_ASX : - case REF_ASY : - case REF_ASZ : - case REF_BSX : - case REF_BSY : - case REF_BSZ : - case REF_CSX : - case REF_CSY : - case REF_CSZ : + case REF_ASX : + case REF_ASY : + case REF_ASZ : + case REF_BSX : + case REF_BSY : + case REF_BSZ : + case REF_CSX : + case REF_CSY : + case REF_CSZ : apply_cell_shift(image->indexed_cell, k, shift); break; - default : + default : ERROR("No shift defined for parameter %i\n", k); abort(); |