diff options
-rw-r--r-- | src/post-refinement.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 20b8eeee..98bc319d 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -44,7 +44,6 @@ enum { REF_ASZ, REF_BSZ, REF_CSZ, - REF_SCALE, REF_DIV, REF_R, }; @@ -128,9 +127,6 @@ static double gradient(struct image *image, int k, Reflection *refl, double r) * of excitation error wrt whatever. */ switch ( k ) { - case REF_SCALE : - return -p*pow(image->osf, -2.0); - case REF_DIV : nom = sqrt(2.0) * ds * sin(image->div/2.0); den = sqrt(1.0 - cos(image->div/2.0)); @@ -213,11 +209,6 @@ static void apply_shift(struct image *image, int k, double shift) { switch ( k ) { - case REF_SCALE : - image->osf += shift; - STATUS("New OSF = %f (shift %e)\n", image->osf, shift); - break; - case REF_DIV : STATUS("Shifting div by %e\n", shift); image->div += shift; |