Skip to content

Commit

Permalink
simplify final loop
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Nov 20, 2020
1 parent 8db6cce commit 387144c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/forcedirected.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ function position!(LA::ForceDirectedLayout, L::Dict{K,NodePosition}, N::T) where
end
end

for (i,s) in enumerate(species(N))
for s in species(N)
update!(LA, L[s])
end

end

0 comments on commit 387144c

Please sign in to comment.