Skip to content

Commit

Permalink
fixed error in pointestimate
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavnatarajan committed Oct 14, 2022
1 parent edb448f commit 7a6590d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pointestimate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If `method` is either `"MAP"`, `"MLE"`, or `"MPEL"`, returns a tuple `(clust, i)
function getpointestimate(samples::MCMCResult; method::String= "MAP", loss::Union{String, Function} = "VI")
# input validation
if method == "SALSO" || method == "MPEL"
if loss ["binder", "omARI", "VI", "NVI", "ID", "NID"]
if loss ["binder", "omARI", "VI", "ID"]
throw(ArgumentError("Invalid loss function specifier."))
end
end
Expand Down

2 comments on commit 7a6590d

@abhinavnatarajan
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/70261

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.2.0 -m "<description of version>" 7a6590debe062a260f979efd3c52aaa9d79c21ea
git push origin v0.2.0

Please sign in to comment.