We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d36529 commit cb6ecb7Copy full SHA for cb6ecb7
src/sampler.jl
@@ -193,9 +193,10 @@ function set_values!!(
193
)
194
vars_in_varinfo = keys(varinfo)
195
for v in keys(initial_params)
196
- if !(v in vars_in_varinfo)
+ vn = VarName{v}()
197
+ if !(vn in vars_in_varinfo)
198
for vv in vars_in_varinfo
- if subsumes(VarName{v}(), vv)
199
+ if subsumes(vn, vv)
200
throw(
201
ArgumentError(
202
"Variable $v not found in model, but it subsumes a variable ($vv) in the model. " *
0 commit comments