Skip to content

Commit

Permalink
Update compiler/noirc_evaluator/src/ssa/acir_gen/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm authored Sep 13, 2023
1 parent 5179e71 commit 0ee1651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_evaluator/src/ssa/acir_gen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ impl Context {
return Ok(());
}
}
// If there is a predicate and the index is not out of range, we can perfom directly the read
// If there is a predicate and the index is not out of range, we can directly perform the read
else if index < array_size && store_value.is_none() {
self.define_result(dfg, instruction, array[index].clone());
return Ok(());
Expand Down

0 comments on commit 0ee1651

Please sign in to comment.