diff options
author | Thomas White <taw@physics.org> | 2019-06-05 11:15:18 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-07-17 09:18:11 +0200 |
commit | 2e101d99268b467c1ab900121c4fba3bbab6f4b1 (patch) | |
tree | 8422bc6f9b5cdc65c6585b810455132ba5aa837d /src/partialator.c | |
parent | 62a4a8aab77be29c07edee7f3ea60847379106bc (diff) |
Allow correct_reflection() to correct anything, not just intensities
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c index 82580e4c..082b9fec 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -661,7 +661,7 @@ static void write_to_pgraph(FILE *fh, RefList *list, RefList *full, Crystal *cr, pcalc = get_partiality(refl); /* Observed partiality */ - Ipart = correct_reflection_nopart(refl, G, B, res); + Ipart = correct_reflection_nopart(get_intensity(refl), refl, G, B, res); pobs = Ipart / get_intensity(match); fprintf(fh, "%5i %4i %4i %4i %e %e %8.3f %8.3f %s\n", |