-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error message for
initial_params
(#772)
* improve error message for `initial_params` * Update src/sampler.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix logic error * apply Will's suggestions * bump version * Update src/sampler.jl Co-authored-by: Penelope Yong <[email protected]> * Update Project.toml --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Penelope Yong <[email protected]>
- Loading branch information
1 parent
3d18cfc
commit 003ff2f
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
003ff2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
predict
from Turing.jl to DynamicPPL.jl; the user-facing behaviour is otherwise the samevalues_as_in_model()
now requires an extra boolean parameter, specifying whether variables on the lhs of:=
statements are to be included in the resulting OrderedDict of values. The type signature is nowvalues_as_in_model([rng,] model, include_colon_eq::Bool [, varinfo, context])
003ff2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/122588
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
003ff2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes
Breaking changes
values_as_in_model()
now requires an extra boolean parameter, specifying whether variables on the lhs of:=
statements are to be included in the resulting OrderedDict of values. The type signature is nowvalues_as_in_model([rng,] model, include_colon_eq::Bool [, varinfo, context])
Other changes
predict
from Turing.jl to DynamicPPL.jl; the user-facing behaviour is otherwise the same003ff2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request updated: JuliaRegistries/General/122588
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
003ff2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
Breaking changes
values_as_in_model()
now requires an extra boolean parameter, specifying whether variables on the lhs of:=
statements are to be included in the resulting OrderedDict of values. The type signature is nowvalues_as_in_model([rng,] model, include_colon_eq::Bool [, varinfo, context])
Other changes
predict
from Turing.jl to DynamicPPL.jl; the user-facing behaviour is otherwise the same003ff2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request updated: JuliaRegistries/General/122588
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: