Skip to content

Commit

Permalink
swap to eachindex
Browse files Browse the repository at this point in the history
  • Loading branch information
juddmehr committed Oct 17, 2024
1 parent bdf34a6 commit 9234a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/C4Blade/C4Blade.jl
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ function solve(rotor, section, op)
)

success = false
for j in 1:length(order) # quadrant orders. In most cases it should find root in first quadrant searched.
for j in eachindex(order) # quadrant orders. In most cases it should find root in first quadrant searched.
phimin, phimax = order[j]

# check to see if it would be faster to reverse the bracket search direction
Expand Down

0 comments on commit 9234a22

Please sign in to comment.