Skip to content

Commit

Permalink
Fix deprecated syntax error (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Jul 31, 2024
1 parent 0c4096a commit 4766fdd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mcmc/gibbs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ function Gibbs(alg1::TGIBBS, algrest::Vararg{TGIBBS,N}) where {N}
return Gibbs{space,N + 1,typeof(algs),typeof(iterations)}(algs, iterations)
end

function Gibbs(
arg1::Tuple{<:TGIBBS,Int}, argrest::Vararg{<:Tuple{<:TGIBBS,Int},N}
) where {N}
function Gibbs(arg1::Tuple{<:TGIBBS,Int}, argrest::Vararg{Tuple{<:TGIBBS,Int},N}) where {N}
allargs = (arg1, argrest...)
algs = map(first, allargs)
iterations = map(last, allargs)
Expand Down

2 comments on commit 4766fdd

@sunxd3
Copy link
Collaborator Author

@sunxd3 sunxd3 commented on 4766fdd Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

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/112160

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.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

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:

git tag -a v0.33.3 -m "<description of version>" 4766fdde20ca9502472afcb991bd05f984d3ad35
git push origin v0.33.3

Please sign in to comment.