Skip to content

Commit a85f28d

Browse files
committed
fix conditioned implementation
1 parent 8c7aff9 commit a85f28d

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
@@ -487,7 +487,7 @@ function conditioned(context::ConditionContext)
487487
# is that the outermost `context` takes precendence, hence when resolving
488488
# the `conditioned` variables we need to ensure that `context.values` takes
489489
# precedence over decendants of `context`.
490-
return _merge(to_varname_dict(context.values), conditioned(childcontext(context)))
490+
return _merge(conditioned(childcontext(context)), to_varname_dict(context.values))
491491
end
492492
function conditioned(context::PrefixContext)
493493
return conditioned(collapse_prefix_stack(context))

0 commit comments

Comments
 (0)