We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99304d4 commit c3a9551Copy full SHA for c3a9551
src/Nonlinear/ReverseAD/Coloring/Coloring.jl
@@ -344,8 +344,8 @@ function recovery_preprocess(
344
sorted_edges[idx] = Tuple{Int,Int}[]
345
sizehint!(sorted_edges[idx], edge_count[idx])
346
end
347
- for i in eachindex(g.edges)
348
- u, v = g.edges[i]
+ for k in eachindex(g.edges)
+ u, v = g.edges[k]
349
i = min(color[u], color[v])
350
j = max(color[u], color[v])
351
idx = twocolorindex[i, j]
0 commit comments