Skip to content

compatibility issue with newer versions of emcee #3

@gica3618

Description

@gica3618

Since version 3, the sampler of emcee is in emcee.EnsembleSampler. However, PinNUTS still uses emcee.sampler.Sampler from emcee v2. This makes emcee_pinnuts.py unusable, unless an outdated version of emcee is used. The example in imf_examples.py runs fine if Sampler is replaced by EnsembleSampler in emcee_nuts.py, but of course I cannot say if any additional changes are required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions