From 3710defb709b7ab33ae7849873c4fb62de96e138 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 6 Mar 2012 14:46:13 +0100 Subject: Rename old array functions to get them out of the way of API consistency --- src/partial_sim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/partial_sim.c') diff --git a/src/partial_sim.c b/src/partial_sim.c index 7a60f5c8..b9cb69e5 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -114,7 +114,7 @@ static void calculate_partials(RefList *partial, double osf, pthread_mutex_lock(full_lock); rfull = add_refl(full, h, k, l); If = fabs(gaussian_noise(0.0, 1000.0)); - set_int(rfull, If); + set_intensity(rfull, If); set_redundancy(rfull, 1); pthread_mutex_unlock(full_lock); @@ -146,7 +146,7 @@ static void calculate_partials(RefList *partial, double osf, Ip = gaussian_noise(Ip, 100.0); - set_int(refl, Ip); + set_intensity(refl, Ip); set_esd_intensity(refl, 100.0); } } -- cgit v1.2.3