This commit is contained in:
Dominik Werder
2024-08-30 16:29:47 +02:00
parent 3ddcc90363
commit 79aa8d0466
10 changed files with 452 additions and 68 deletions

View File

@@ -53,7 +53,7 @@ fn stats_struct_impl(st: &StatsStructDef) -> String {
let init_histolog2s = st
.histolog2s
.iter()
.map(|x| format!("{:12}{}: stats_types::HistoLog2::new(0)", "", x.to_string()));
.map(|x| format!("{:12}{}: stats_types::HistoLog2::new()", "", x.to_string()));
let inits: Vec<_> = inits1.into_iter().chain(inits2).chain(init_histolog2s).collect();
let inits = inits.join(",\n");
let incers: String = st