Skip to content

Commit

Permalink
fix macro bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsipher committed Oct 28, 2023
1 parent dd50ae7 commit 8fff59c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ macro disjunction(args...)

# initial processing of positional arguments
length(pos_args) >= 2 || _error("Not enough arguments, please see docs for accepted `@disjunction` syntax..")
esc_model = esc(popfirst!(pos_args))
model = popfirst!(pos_args)
esc_model = esc(model)
y = first(pos_args)
extra = pos_args[2:end]
if isexpr(args[1], :block)
Expand Down

0 comments on commit 8fff59c

Please sign in to comment.