From 1850a0b9c4d4e4a365266ceb61ecac63d9b8cd1b Mon Sep 17 00:00:00 2001 From: Mahmoud Bentriou <mahmoud.bentriou@centralesupelec.fr> Date: Thu, 12 May 2022 00:19:12 +0200 Subject: [PATCH] Add imports --- src/network_model.jl | 2 ++ src/plots.jl | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/network_model.jl b/src/network_model.jl index 577797f..4a9468e 100644 --- a/src/network_model.jl +++ b/src/network_model.jl @@ -1,4 +1,6 @@ +using MacroTools + function get_multiplicand_and_species(expr::Expr) @assert expr.args[1] == :* multiplicand = reduce(*, expr.args[2:(end-1)]) diff --git a/src/plots.jl b/src/plots.jl index 9bcbe93..8c47eb4 100644 --- a/src/plots.jl +++ b/src/plots.jl @@ -1,4 +1,7 @@ +import Plots: plot, plot!, scatter!, hline!, Shape, text +import Plots: current, palette, display, png, close, savefig + """ `plot(σ, var...; plot_transitions=false)` -- GitLab