From 77a2cfe8918a4e976c41203d5f37cb675cee1f73 Mon Sep 17 00:00:00 2001 From: Tamir Hemo Date: Thu, 9 Nov 2023 12:37:14 -0800 Subject: [PATCH] fix from_vars_unsafe --- plonky2x/core/src/frontend/vars/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plonky2x/core/src/frontend/vars/stream.rs b/plonky2x/core/src/frontend/vars/stream.rs index de0351cf8..e8cb2df53 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(