diff options
author | Thomas White <taw@physics.org> | 2012-03-06 14:46:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-03-06 14:46:13 +0100 |
commit | 3710defb709b7ab33ae7849873c4fb62de96e138 (patch) | |
tree | 0c50ad73099324891826efb2bbfc33a8ec03d8a3 /src/process_hkl.c | |
parent | 95f05d7d455c9bfd28af83b72dfeb47b77fca621 (diff) |
Rename old array functions to get them out of the way of API consistency
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index d90bc9ef..fb0f7fa4 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -169,10 +169,11 @@ static void merge_pattern(RefList *model, RefList *new, int max_only, /* User asked for max only? */ if ( !max_only ) { - set_int(model_version, model_int + intensity); + set_intensity(model_version, + model_int + intensity); } else { if ( intensity>get_intensity(model_version) ) { - set_int(model_version, intensity); + set_intensity(model_version, intensity); } } @@ -298,7 +299,7 @@ static void scale_intensities(RefList *model, RefList *new, const SymOpList *sym refl = next_refl(refl, iter) ) { double intensity = get_intensity(refl); - set_int(refl, intensity*s); + set_intensity(refl, intensity*s); } } @@ -375,7 +376,7 @@ static void merge_all(FILE *fh, RefList *model, double intensity = get_intensity(refl); int red = get_redundancy(refl); - set_int(refl, intensity / (double)red); + set_intensity(refl, intensity / (double)red); } |