nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

avoid wrapping CRP cluster parameters when joint sampling #1404

Closed paciorek closed 8 months ago

paciorek commented 8 months ago

This came up for HMC. If we assign an HMC (joint) sampler to parameters for multiple cluster nodes, the current handling of wrapping the cluster parameters to only sample if there are members of the cluster fails.

This simply does not do the wrapping if the target involves multiple nodes.