Skip to content

Commit

Permalink
Remove usable_rows check on fixed columns (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguel-ambrona authored and iquerejeta committed May 8, 2024
1 parent b4842c3 commit 7cb140c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions halo2_proofs/src/plonk/keygen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,6 @@ impl<F: Field> Assignment<F> for Assembly<F> {
A: FnOnce() -> AR,
AR: Into<String>,
{
if !self.usable_rows.contains(&row) {
return Err(Error::not_enough_rows_available(self.k));
}

*self
.fixed
.get_mut(column.index())
Expand Down Expand Up @@ -161,10 +157,6 @@ impl<F: Field> Assignment<F> for Assembly<F> {
from_row: usize,
to: Value<Assigned<F>>,
) -> Result<(), Error> {
if !self.usable_rows.contains(&from_row) {
return Err(Error::not_enough_rows_available(self.k));
}

let col = self
.fixed
.get_mut(column.index())
Expand Down

0 comments on commit 7cb140c

Please sign in to comment.