You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
structs with information about prior(s) currently hold those as NamedTuple objects.
Problem
Although, using NamedTuples is convenient; they are annoying to strongly specify their type. However, following #65 we now will error if the object giving distribution information about priors cannot be parsed as a Symbol => D where D <: Distribution pair.
Solution
Rather than holding information on priors as NamedTuples, replace with Dict{Symbol,D} in parameteric typed struct (e.g. where D <: Distribution.
The text was updated successfully, but these errors were encountered:
Current API
structs
with information about prior(s) currently hold those asNamedTuple
objects.Problem
Although, using
NamedTuple
s is convenient; they are annoying to strongly specify their type. However, following #65 we now will error if the object giving distribution information about priors cannot be parsed as aSymbol => D
whereD <: Distribution
pair.Solution
Rather than holding information on priors as
NamedTuple
s, replace withDict{Symbol,D}
in parameteric typed struct (e.g.where D <: Distribution
.The text was updated successfully, but these errors were encountered: