Skip to content

Commit 160668f

Browse files
committed
up
1 parent a6b4c3a commit 160668f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dsl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ end
145145

146146
# The case where the name contains an interpolation.
147147
macro network_component(name::Expr, network_expr::Expr)
148-
make_rs_expr(esc(name.args[1]); complete = false)
148+
make_rs_expr(esc(name.args[1]), network_expr; complete = false)
149149
end
150150

151151
# The case where nothing, or only a name, is provided.

test/dsl/dsl_advanced_model_construction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ let
131131
end
132132
# Line number nodes aren't ignored so have to be manually removed
133133
Base.remove_linenums!(ex)
134-
@test eval(Catalyst.make_reaction_system(ex, name = QuoteNode(:name))) isa ReactionSystem
134+
@test eval(Catalyst.make_reaction_system(ex, QuoteNode(:name))) isa ReactionSystem
135135
end
136136

137137
# Miscellaneous interpolation tests. Unsure what they do here (not related to DSL).

0 commit comments

Comments
 (0)