
Slice-sample the unnormalized posterior of an nle() or nre() fit
Source: R/nle_posterior.R
slice_sample_surrogate.RdThe sampler does not care which surrogate produced the potential, so
surrogate_potential() is the only line that looks at which fit it has.