aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
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);
}
}