Skip to content

Commit

Permalink
Update ext/CatalystGraphMakieExtension/rn_graph_plot.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Isaacson <[email protected]>
  • Loading branch information
vyudu and isaacsas authored Nov 15, 2024
1 parent 2c36ac3 commit 952fb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/CatalystGraphMakieExtension/rn_graph_plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function complexlabels(rn::ReactionSystem)
push!(labels, complexelemtostr(complex[1], specstrs))
else
elems = map(c -> complexelemtostr(c, specstrs), complex)
str = reduce((e1, e2) -> *(e1, " + ", e2), elems[2:end]; init = elems[1])
str = reduce((e1, e2) -> *(e1, " + ", e2), @view elems[2:end]; init = elems[1])
push!(labels, str)
end
end
Expand Down

0 comments on commit 952fb39

Please sign in to comment.