Files
pokerfreak/mutants.out/diff/src__icm__harville.rs_line_71_col_26.diff
T

18 lines
596 B
Diff

--- src/icm/harville.rs
+++ replace += with -= in sampled_equities
@@ -63,13 +63,13 @@
rng = next;
times.push((-(1.0 - u).ln() / stack, i));
}
if paid.len() < times.len() {
times.select_nth_unstable_by(paid.len(), by_time);
}
times[..paid.len()].sort_unstable_by(by_time);
for ((_, player), prize) in times.iter().zip(paid) {
- out[*player] += prize;
+ out[*player] -= /* ~ changed by cargo-mutants ~ */ prize;
}
}
out.iter().map(|x| x / f64::from(SAMPLES)).collect()
}