Skip to content

Commit 5742078

Browse files
authored
Remove unneeded argument from default_accumulators() (#1025)
1 parent 0cf3440 commit 5742078

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/default_accumulators.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,7 @@ function accumulate_observe!!(acc::LogLikelihoodAccumulator, right, left, vn)
165165
return acclogp(acc, Distributions.loglikelihood(right, left))
166166
end
167167

168-
function default_accumulators(
169-
::Type{FloatT}=LogProbType, ::Type{IntT}=Int
170-
) where {FloatT,IntT}
168+
function default_accumulators(::Type{FloatT}=LogProbType) where {FloatT}
171169
return AccumulatorTuple(
172170
LogPriorAccumulator{FloatT}(),
173171
LogJacobianAccumulator{FloatT}(),

0 commit comments

Comments
 (0)