pymc3.py: make sure step is set within the model context manager
Compare changes
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
This patch fixes a bug in which the step method was not being set within the PyMC3 model
context manager, so the code would not run if a step
method was passed to the sampler.