add more debug

This commit is contained in:
Yeastplume 2024-02-06 13:52:27 +00:00
parent 24939d3808
commit 6bd7d7b19d

View file

@ -152,9 +152,10 @@ impl PruneList {
}
if min(idx as usize, self.shift_cache.len()) == 0 {
println!(
"idx: {}, shift_cache.len(): {}",
"idx: {}, shift_cache.len(): {}, pos0: {}",
idx,
self.shift_cache.len()
self.shift_cache.len(),
pos0
);
}
self.shift_cache[min(idx as usize, self.shift_cache.len()) - 1]