Skip to content

Commit 6b96a22

Browse files
Remove eval in system unpacking
This should be at least a partial fix to #1235, but may also need SciML/RuntimeGeneratedFunctions.jl#96 to fully get pre working
1 parent ec649b8 commit 6b96a22

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/reactionsystem.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,7 @@ Notes:
11831183
the symbolic variables being defined in the `Main` module.
11841184
"""
11851185
macro unpacksys(rn)
1186-
quote
1187-
ex = Catalyst.__unpacksys($(esc(rn)))
1188-
Base.eval($(__module__), ex)
1189-
end
1186+
Catalyst.__unpacksys((esc(rn)))
11901187
end
11911188

11921189
"""

0 commit comments

Comments
 (0)