aboutsummaryrefslogtreecommitdiff
path: root/src/reflections.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-08 16:30:35 -0700
committerThomas White <taw@physics.org>2012-02-22 15:27:09 +0100
commit57f325c7d13f60ba0c5f71921209e0f8d4f850bf (patch)
tree8e12c492e8b4fbd4208234b385c9738cc5029137 /src/reflections.c
parent19fafd8430ce2006af9151802534cfd2e12f5295 (diff)
Use correct accessor type for ESD lists
Diffstat (limited to 'src/reflections.c')
-rw-r--r--src/reflections.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reflections.c b/src/reflections.c
index 98fc9bab..4743aeee 100644
--- a/src/reflections.c
+++ b/src/reflections.c
@@ -26,7 +26,7 @@ double *poisson_esds(double *intensities, ReflItemList *items,
double adu_per_photon)
{
int i;
- double *esds = new_list_intensity();
+ double *esds = new_list_sigma();
for ( i=0; i<num_items(items); i++ ) {
@@ -45,7 +45,7 @@ double *poisson_esds(double *intensities, ReflItemList *items,
sigma = 0.0;
}
- set_intensity(esds, h, k, l, sigma);
+ set_sigma(esds, h, k, l, sigma);
}
@@ -110,7 +110,7 @@ void write_reflections(const char *filename, ReflItemList *items,
}
if ( esds != NULL ) {
- sigma = lookup_intensity(esds, h, k, l);
+ sigma = lookup_sigma(esds, h, k, l);
} else {
sigma = 0.0;
}