Commit 8cbe3b3e authored by Thomas White's avatar Thomas White
Browse files

partial_sim: Lock reflection while increasing the number of "measurements"

parent 83632f0d
......@@ -125,8 +125,10 @@ static void calculate_partials(RefList *partial, double osf,
} else {
If = get_intensity(rfull);
if ( random_intensities ) {
lock_reflection(rfull);
int red = get_redundancy(rfull);
set_redundancy(rfull, red+1);
unlock_reflection(rfull);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment