Skip to content

Assume in vectorisation of HMC bug. #760

@trappmartin

Description

@trappmartin

We call setgid! only if assume is called for a single distribution during HMC sampling

function assume(spl::Sampler{<:Hamiltonian}, dist::Distribution, vn::VarName, vi::VarInfo)
Turing.DEBUG && @debug "assuming..."
updategid!(vi, vn, spl)

But we do not do the same during vectorisation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions