diff --git a/plonky2x/core/src/frontend/vars/stream.rs b/plonky2x/core/src/frontend/vars/stream.rs index de0351cf..e8cb2df5 100644 --- a/plonky2x/core/src/frontend/vars/stream.rs +++ b/plonky2x/core/src/frontend/vars/stream.rs @@ -63,7 +63,7 @@ impl, const D: usize> OutputVariableStream { pub fn read_unsafe(&self, builder: &mut CircuitBuilder) -> V { let variables = self.read_exact(builder, V::nb_elements()); - V::from_variables(builder, &variables) + V::from_variables_unsafe(&variables) } pub fn read_vec(