diff options
author | Thomas White <taw@physics.org> | 2023-11-08 16:24:41 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-06 16:59:34 +0100 |
commit | e377768607f11d48106bd1381f1312379c342d7e (patch) | |
tree | 1e662f0557127e1bd92febd27dfda26f2d5a1960 /src | |
parent | f3b25d69e888cb66e6a2add491a4f6d5e18f30af (diff) |
Crystal: Remove reference to image structure (part 1)
Diffstat (limited to 'src')
-rw-r--r-- | src/partialator.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/partialator.c b/src/partialator.c index 9b1803b0..76fce8c8 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -1614,7 +1614,6 @@ int main(int argc, char *argv[]) return 1; } - crystal_set_image(cr, image_for_crystal); *image_for_crystal = *image; image_for_crystal->n_crystals = 1; image_for_crystal->crystals = malloc(sizeof(Crystal *)); @@ -1835,10 +1834,6 @@ int main(int argc, char *argv[]) /* Clean up */ gsl_rng_free(rng); - for ( icryst=0; icryst<n_crystals; icryst++ ) { - struct image *image = crystal_get_image(crystals[icryst]); - image_free(image); - } free_contribs(full); reflist_free(full); free_symoplist(sym); |