Skip to content

Commit

Permalink
Merge pull request #13 from ReactiveBayes/fix_error_message
Browse files Browse the repository at this point in the history
Change error message for partition_point
  • Loading branch information
bvdmitri authored Jul 8, 2024
2 parents 14f967d + 6e5f099 commit 86719e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/natural_manifolds/negative_binomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ end
Converts the `point` to a compatible representation for the natural manifold of type `NegativeBinomial`.
"""
function partition_point(::Type{NegativeBinomial}, ::Tuple{}, p, conditioner=nothing)
@assert conditioner >= 0 "Conditioner should be negative"
@assert conditioner >= 0 "Conditioner should be non-negative"
return p
end

0 comments on commit 86719e6

Please sign in to comment.