diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-05-06 17:17:21 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-05-06 17:17:21 -0700 |
commit | d1dcc80ba6d6c5f5c0293adc6cdb05ee10f16327 (patch) | |
tree | 2650cc221a3e0ab15d94550eb457974283be1e41 | |
parent | 317d5b1c1cb6bd92383a9e1fa9790f324994279d (diff) |
Fix cell used for output_intensities()
-rw-r--r-- | src/peaks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peaks.c b/src/peaks.c index 8f80e63e..cf4eacf3 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -460,9 +460,9 @@ void output_intensities(struct image *image, UnitCell *cell, 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)); - cell_get_reciprocal(image->indexed_cell, &asx, &asy, &asz, - &bsx, &bsy, &bsz, - &csx, &csy, &csz); + cell_get_reciprocal(cell, &asx, &asy, &asz, + &bsx, &bsy, &bsz, + &csx, &csy, &csz); printf("astar = %+9.7f %+9.7f %+9.7f nm^-1\n", asx/1e9, asy/1e9, asz/1e9); printf("bstar = %+9.7f %+9.7f %+9.7f nm^-1\n", |