File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -350,25 +350,6 @@ function (f::FastLogDensityAt)(params::AbstractVector{<:Real})
350350 return f. _getlogdensity (vi)
351351end
352352
353- function _evaluate!! (model:: Model , varinfo:: OnlyAccsVarInfo )
354- if leafcontext (model. context) isa FastEvalVectorContext
355- args = map (maybe_deepcopy, model. args)
356- return model. f (model, varinfo, args... ; model. defaults... )
357- else
358- error (" Shouldn't happen" )
359- end
360- end
361- maybe_deepcopy (@nospecialize (x)) = x
362- function maybe_deepcopy (x:: AbstractArray{T} ) where {T}
363- if T >: Missing
364- # avoid overwriting missing elements of model arguments when
365- # evaluating the model.
366- deepcopy (x)
367- else
368- x
369- end
370- end
371-
372353function LogDensityProblems. logdensity (fldf:: FastLDF , params:: AbstractVector{<:Real} )
373354 return FastLogDensityAt (
374355 fldf. model, fldf. _getlogdensity, fldf. _iden_varname_ranges, fldf. _varname_ranges
You can’t perform that action at this time.
0 commit comments