From bf42de56981f65168322d05f39402b502e9bb7ee Mon Sep 17 00:00:00 2001 From: Alwin Berger Date: Mon, 18 Sep 2023 16:48:57 +0200 Subject: [PATCH] fix api regression --- fuzzers/FRET/src/worst.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzers/FRET/src/worst.rs b/fuzzers/FRET/src/worst.rs index f8ecc2174f..9ecc565c76 100644 --- a/fuzzers/FRET/src/worst.rs +++ b/fuzzers/FRET/src/worst.rs @@ -87,7 +87,7 @@ where { fn compute( state: &S, entry: &mut Testcase) -> Result { let execs_per_hour = (3600.0/entry.exec_time().expect("testcase.exec_time is needed for scheduler").as_secs_f64()); - let execs_times_length_per_hour = execs_per_hour*entry.cached_len().unwrap() as f64; + let execs_times_length_per_hour = execs_per_hour*entry.load_len(state.corpus()).unwrap() as f64; Ok(execs_times_length_per_hour) } }