Skip to content

Commit 6430625

Browse files
committed
hot-fix for where syntax
1 parent 4124db1 commit 6430625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/model.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ function generate_model_expression(backend, model_options, model_specification)
305305

306306
# Step 1: Inject node's aliases
307307
ms_body = postwalk(ms_body) do expression
308-
if @capture(expression, (lhs_ ~ rhs_ where { options__ }) | (lhs_ .~ rhs_ where { options__ }))
309-
return :($lhs ~ $(write_inject_tilderhs_aliases(backend, model, rhs)) where { $options... })
308+
if @capture(expression, (lhs_ ~ rhs_ where { options_ }) | (lhs_ .~ rhs_ where { options_ }))
309+
return :($lhs ~ $(write_inject_tilderhs_aliases(backend, model, rhs)) where { $options })
310310
elseif @capture(expression, (lhs_ ~ rhs_) | (lhs_ .~ rhs_))
311311
return :($lhs ~ $(write_inject_tilderhs_aliases(backend, model, rhs)))
312312
else

0 commit comments

Comments
 (0)