Skip to content

Commit

Permalink
Apply format suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
simsurace and github-actions[bot] authored Mar 10, 2024
1 parent 2bde5fa commit 53c4ddb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/likelihoods/negativebinomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ end

@functor NegativeBinomialLikelihood

(l::NegativeBinomialLikelihood)(fs::AbstractVector{<:Real}) = product_distribution(map(l, fs))
function (l::NegativeBinomialLikelihood)(fs::AbstractVector{<:Real})
return product_distribution(map(l, fs))
end

@doc raw"""
NBParamSuccess(successes)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using Zygote
end
include("expectations.jl")
@testset "Code quality (Aqua.jl)" begin
Aqua.test_all(GPLikelihoods; ambiguities = false)
Aqua.test_all(GPLikelihoods; ambiguities=false)
# Ref https://github.com/JuliaTesting/Aqua.jl/issues/77
Aqua.test_ambiguities(GPLikelihoods; recursive=false)
end
Expand Down

0 comments on commit 53c4ddb

Please sign in to comment.