aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-06 14:46:13 +0100
committerThomas White <taw@physics.org>2012-03-06 14:46:13 +0100
commit3710defb709b7ab33ae7849873c4fb62de96e138 (patch)
tree0c50ad73099324891826efb2bbfc33a8ec03d8a3 /src/partial_sim.c
parent95f05d7d455c9bfd28af83b72dfeb47b77fca621 (diff)
Rename old array functions to get them out of the way of API consistency
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}