Skip to content

Commit

Permalink
chore: remove unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Sep 27, 2024
1 parent cb50a3a commit c968bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_comparison_tools/bounds_checker.nr
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn get_validity_flags<let N: u32>(boundary: u32) -> [Field; N] {

unconstrained fn __get_validity_flags<let N: u32>(boundary: u32) -> [Field; N] {
let mut result: [Field; N] = [0; N];
for i in 0..N as u32 {
for i in 0..N {
if i < boundary {
result[i] = 1;
}
Expand Down

0 comments on commit c968bbe

Please sign in to comment.