diff options
-rw-r--r-- | src/post-refinement.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index e98f7253..765f5cab 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -506,26 +506,6 @@ static struct param_backup backup_crystal(Crystal *cr) } -static void revert_crystal(Crystal *cr, struct param_backup b) -{ - double asx, asy, asz; - double bsx, bsy, bsz; - double csx, csy, csz; - struct image *image = crystal_get_image(cr); - - cell_get_reciprocal(b.cell, &asx, &asy, &asz, - &bsx, &bsy, &bsz, - &csx, &csy, &csz); - - cell_set_reciprocal(crystal_get_cell(cr), asx, asy, asz, - bsx, bsy, bsz, - csx, csy, csz); - - crystal_set_profile_radius(cr, b.profile_radius); - image->div = b.div; -} - - static void free_backup_crystal(struct param_backup b) { cell_free(b.cell); |