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, 4 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index d2c33d9a..ee48f0f6 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -94,6 +94,10 @@ static void calculate_partials(RefList *partial, double osf,
}
} else {
If = get_intensity(rfull);
+ if ( random_intensities ) {
+ int red = get_redundancy(rfull);
+ set_redundancy(rfull, red+1);
+ }
}
Ip = osf * p * If;