Skip to content

Commit c90f80a

Browse files
sunxd3penelopeysm
andauthored
Update src/sampler.jl
Co-authored-by: Penelope Yong <[email protected]>
1 parent 072ed04 commit c90f80a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sampler.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ function set_values!!(
203203
if subsumes(vn, vv)
204204
throw(
205205
ArgumentError(
206-
"The current model does not contain variable $v, but there's ($vv) in the model. " *
207-
"Using NamedTuple for initial_params is not supported for this model. " *
206+
"The current model contains sub-variables of $v, such as ($vv). " *
207+
"Using NamedTuple for initial_params is not supported in such a case. " *
208208
"Please use AbstractVector for initial_params instead of NamedTuple.",
209209
),
210210
)

0 commit comments

Comments
 (0)