Skip to content

Commit

Permalink
fix from_vars_unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirhemo authored and ratankaliani committed Jan 24, 2024
1 parent a87b4e8 commit 77a2cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plonky2x/core/src/frontend/vars/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl<L: PlonkParameters<D>, const D: usize> OutputVariableStream<L, D> {
pub fn read_unsafe<V: CircuitVariable>(&self, builder: &mut CircuitBuilder<L, D>) -> V {
let variables = self.read_exact(builder, V::nb_elements());

V::from_variables(builder, &variables)
V::from_variables_unsafe(&variables)
}

pub fn read_vec<V: CircuitVariable>(
Expand Down

0 comments on commit 77a2cfe

Please sign in to comment.