Skip to content

Commit

Permalink
update optim
Browse files Browse the repository at this point in the history
  • Loading branch information
paschermayr committed Aug 13, 2023
1 parent 04a35a2 commit 0158411
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "BaytesSMC"
uuid = "2428e3a5-deaa-4b4d-8ec5-54cd60d7566c"
authors = ["Patrick Aschermayr <p.aschermayr@gmail.com>"]
version = "0.3.3"
version = "0.3.4"

[deps]
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
3 changes: 2 additions & 1 deletion src/Core/utility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ struct SMCBuffer{M<:NamedTuple,I<:Integer,L<:Real,T<:AbstractFloat,F<:AbstractFl
data::D,
Nchains::Int64;
ancestortype::Type{I}=Int64,
) where {K<:Union{MCMC,PMCMC},M<:ModelWrapper,D,I<:Integer}
) where {K<:AbstractAlgorithm,M<:ModelWrapper,D,I<:Integer}
# ) where {K<:Union{MCMC,PMCMC},M<:ModelWrapper,D,I<:Integer}
@argcheck 0 < Nchains "Nchains need to be positive"
result = BaytesCore.get_result(kernel)
Nparams = length(result.θᵤ)
Expand Down

2 comments on commit 0158411

@paschermayr
Copy link
Owner Author

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

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.3.4 -m "<description of version>" 015841139df67b7451c7eeb15df09871c9f22629
git push origin v0.3.4

Please sign in to comment.