diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-08 16:30:35 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:09 +0100 |
commit | 57f325c7d13f60ba0c5f71921209e0f8d4f850bf (patch) | |
tree | 8e12c492e8b4fbd4208234b385c9738cc5029137 /src/process_hkl.c | |
parent | 19fafd8430ce2006af9151802534cfd2e12f5295 (diff) |
Use correct accessor type for ESD lists
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index 162b0bd6..689263bb 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -791,7 +791,7 @@ int main(int argc, char *argv[]) STATUS("Extra pass to calculate ESDs...\n"); devs = new_list_intensity(); - esds = new_list_intensity(); + esds = new_list_sigma(); rewind(fh); merge_all(fh, &model, &observed, &counts, config_maxonly, config_scale, 0, @@ -815,11 +815,11 @@ int main(int argc, char *argv[]) if ( count < 2 ) { /* If we have only one measurement, the error is 100% */ - esd = lookup_intensity(model, h, k, l); + esd = lookup_sigma(model, h, k, l); } else { esd = sqrt(dev) / (double)count; } - set_intensity(esds, h, k, l, esd); + set_sigma(esds, h, k, l, esd); } |