dev: Fix bug in cell assignment checker

The simple example was broken because it uses an instance column in a
gate. MockProver now assumes all instance cells are assigned to, since
this happens outside the circuit and outside its purview.
This commit is contained in:
Jack Grigg 2021-06-04 02:56:35 +01:00
parent 32cdcfa66f
commit e01fb15018
1 changed files with 2 additions and 1 deletions

View File

@ -379,7 +379,8 @@ impl<F: FieldExt> MockProver<F> {
Any::Fixed => {
self.fixed[cell.column.index()][cell_row].is_some()
}
Any::Instance => unreachable!(),
// Instance column cells are assigned outside the circuit.
Any::Instance => true,
} {
None
} else {