Skip to content

Commit d953f7b

Browse files
committed
fix a merge conflict
1 parent 60736ba commit d953f7b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/chains.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,15 @@ via `unflatten` plus re-evaluation. It is faster for two reasons:
156156
"""
157157
function ParamsWithStats(
158158
param_vector::AbstractVector,
159-
ldf::DynamicPPL.LogDensityFunction,
159+
ldf::DynamicPPL.LogDensityFunction{Tlink},
160160
stats::NamedTuple=NamedTuple();
161161
include_colon_eq::Bool=true,
162162
include_log_probs::Bool=true,
163-
)
163+
) where {Tlink}
164164
strategy = InitFromParams(
165-
VectorWithRanges(ldf._iden_varname_ranges, ldf._varname_ranges, param_vector),
165+
VectorWithRanges{Tlink}(
166+
ldf._iden_varname_ranges, ldf._varname_ranges, param_vector
167+
),
166168
nothing,
167169
)
168170
accs = if include_log_probs

0 commit comments

Comments
 (0)