Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Sep 13, 2023
1 parent be6beb3 commit 17429fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1947,9 +1947,9 @@ macro expression(args...)
Containers.container_code(idxvars, indices, code, requested_container)
# Wrap the entire code block in a let statement to make the model act as
# a type stable local variable.
creation_code = quote
code = quote
let $m = $m
$creation_code
$code
end
end
# don't do anything with the model, but check that it's valid anyway
Expand Down

0 comments on commit 17429fd

Please sign in to comment.