Suppose
sampler = emcee.EnsembleSampler(nwalkers, ndims, lnprob, args=[obs])
where obs, say, is a user struct (mutable) that the lnprob method needs access to. What if lnprob modifies values in obs?
Can we trust that these stay local to a single step of a single walker? When lnprob is called next will it get a fresh copy of obs?
Thanks,
—naor
--
You received this message because you are subscribed to the Google Groups "emcee users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emcee-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emcee-users/ee26dee1-e645-4fb9-9096-851e2679e8c3n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emcee-users/969e0bd9-42a3-4179-be44-561247e0919cn%40googlegroups.com.