Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant committed Nov 24, 2023
1 parent 48e72c9 commit 9c02007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_evaluator/src/ssa/function_builder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ impl FunctionBuilder {
self.insert_instruction(Instruction::IncrementRc { value }, None);

if element_types.iter().any(|element| element.contains_an_array()) {
for i in 0 .. length {
for i in 0..length {
let index = self.field_constant(i as u128);
let element_type = element_types[i % element_types.len()].clone();
let element = self.insert_array_get(value, index, element_type);
Expand Down

0 comments on commit 9c02007

Please sign in to comment.