Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: generators no constraints #340

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix from_vars_unsafe
tamirhemo authored and ratankaliani committed Jan 24, 2024

Verified

This commit was signed with the committer’s verified signature.
ratankaliani Ratan Kaliani
commit 51b9d89f1db2cfbbda55dfee713dffdac698d8b2
2 changes: 1 addition & 1 deletion plonky2x/core/src/frontend/vars/stream.rs
Original file line number Diff line number Diff line change
@@ -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>(