diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-05 17:03:18 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-05 17:03:18 +0200 |
commit | 509f08dc3216bdb80e04e012e916c019dea31355 (patch) | |
tree | 181bfe7d119dabaade24b17aefc26a8d0bfba72b /src/peaks.c | |
parent | 60c2e01b0faa0ff4955d9ffe1e99c7c8cffc2c5c (diff) |
pattern_sim: Fix uninitialised stuff
Diffstat (limited to 'src/peaks.c')
-rw-r--r-- | src/peaks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c index e4853a71..72002379 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -533,7 +533,7 @@ void output_intensities(struct image *image, UnitCell *cell, printf("Orientation (wxyz): %7.5f %7.5f %7.5f %7.5f\n", image->orientation.w, image->orientation.x, image->orientation.y, image->orientation.z); - cell_get_parameters(image->indexed_cell, &a, &b, &c, &al, &be, &ga); + cell_get_parameters(cell, &a, &b, &c, &al, &be, &ga); printf("Cell parameters %7.5f %7.5f %7.5f nm, %7.5f %7.5f %7.5f deg\n", a*1.0e9, b*1.0e9, c*1.0e9, rad2deg(al), rad2deg(be), rad2deg(ga)); |