Skip to content

Commit 9e0730f

Browse files
Update src/contexts.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5fe65b3 commit 9e0730f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contexts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ If `x` is known at compile-time, use `Val{x}()` to avoid runtime overheads for p
303303
"""
304304
prefix(model::Model, x) = contextualize(model, PrefixContext{Symbol(x)}(model.context))
305305
function prefix(model::Model, ::Val{x}) where {x}
306-
contextualize(model, PrefixContext{Symbol(x)}(model.context))
306+
return contextualize(model, PrefixContext{Symbol(x)}(model.context))
307307
end
308308

309309
"""

0 commit comments

Comments
 (0)