diff --git a/crates/core/machine/src/cpu/trace.rs b/crates/core/machine/src/cpu/trace.rs index 8f6eec515..6fbf1a172 100644 --- a/crates/core/machine/src/cpu/trace.rs +++ b/crates/core/machine/src/cpu/trace.rs @@ -548,7 +548,8 @@ impl CpuChip { fn pad_to_power_of_two(&self, shape: &Option, values: &mut Vec) { let n_real_rows = values.len() / NUM_CPU_COLS; let padded_nb_rows = if let Some(shape) = shape { - 1 << shape.inner[&MachineAir::::name(self)] + let name = MachineAir::::name(self); + 1 << shape.inner.get(&name).expect(&format!("fail to get shape of {}", name)) } else if n_real_rows < 16 { 16 } else {