Merge pull request #1005 from Zokrates/fix-invalid-bitwidth
Fix invalid bitwidth set on select index
This commit is contained in:
commit
2b2ac26759
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ impl<'ast, T: Field> ResultFolder<'ast, T> for ZirPropagator<'ast, T> {
|
|||
.cloned()
|
||||
.ok_or_else(|| Error::OutOfBounds(v, e.len() as u128))
|
||||
.map(|e| e.into_inner()),
|
||||
i => Ok(UExpressionInner::Select(e, box i.annotate(bitwidth))),
|
||||
i => Ok(UExpressionInner::Select(e, box i.annotate(UBitwidth::B32))),
|
||||
}
|
||||
}
|
||||
UExpressionInner::Add(box e1, box e2) => {
|
||||
|
|
Loading…
Reference in a new issue