fix weighting from hits (#1120)
This commit is contained in:
parent
672f4d1668
commit
2a3f1d68f5
@ -333,7 +333,7 @@ where
|
|||||||
| PowerSchedule::QUAD => {
|
| PowerSchedule::QUAD => {
|
||||||
let hits = psmeta.n_fuzz()[tcmeta.n_fuzz_entry()];
|
let hits = psmeta.n_fuzz()[tcmeta.n_fuzz_entry()];
|
||||||
if hits > 0 {
|
if hits > 0 {
|
||||||
weight *= libm::log10(f64::from(hits)) + 1.0;
|
weight /= libm::log10(f64::from(hits)) + 1.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// EXPLORE and EXPLOIT fall into this
|
// EXPLORE and EXPLOIT fall into this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user