File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ uuid = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
3
3
keywords = [" markov chain monte carlo" , " probabilistic programming" ]
4
4
license = " MIT"
5
5
desc = " A lightweight interface for common MCMC methods."
6
- version = " 5.6.1 "
6
+ version = " 5.6.2 "
7
7
8
8
[deps ]
9
9
BangBang = " 198e06fe-97b7-11e9-32a5-e1d131e6ad66"
Original file line number Diff line number Diff line change @@ -653,15 +653,15 @@ tighten_eltype(x::Vector{Any}) = map(identity, x)
653
653
654
654
@nospecialize check_initial_params (x, n) = throw (
655
655
ArgumentError (
656
- " initial parameters must be specified as a vector of length equal to the number of chains or `nothing`" ,
656
+ " initial_params must be specified as a vector of length equal to the number of chains or `nothing`" ,
657
657
),
658
658
)
659
659
check_initial_params (:: Nothing , n) = nothing
660
660
function check_initial_params (x:: AbstractArray , n)
661
661
if length (x) != n
662
662
throw (
663
663
ArgumentError (
664
- " incorrect number of initial parameters (expected $n , received $(length (x)) "
664
+ " the length of initial_params must be equal to the number of chains ( $n ; received $(length (x) ) )"
665
665
),
666
666
)
667
667
end
@@ -671,15 +671,15 @@ end
671
671
672
672
@nospecialize check_initial_state (x, n) = throw (
673
673
ArgumentError (
674
- " initial states must be specified as a vector of length equal to the number of chains or `nothing`" ,
674
+ " initial_state must be specified as a vector of length equal to the number of chains or `nothing`" ,
675
675
),
676
676
)
677
677
check_initial_state (:: Nothing , n) = nothing
678
678
function check_initial_state (x:: AbstractArray , n)
679
679
if length (x) != n
680
680
throw (
681
681
ArgumentError (
682
- " incorrect number of initial states (expected $n , received $(length (x)) "
682
+ " the length of initial_state must be equal to the number of chains ( $n ; received $(length (x) ) )"
683
683
),
684
684
)
685
685
end
You can’t perform that action at this time.
0 commit comments