From 2e101d99268b467c1ab900121c4fba3bbab6f4b1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 5 Jun 2019 11:15:18 +0200 Subject: Allow correct_reflection() to correct anything, not just intensities --- src/partialator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/partialator.c') 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", -- cgit v1.2.3