Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue resulting from pickling the solver several times #51

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

astoeriko
Copy link
Contributor

I got an error when trying to sample a model using sunode with PyMC's SMC sampler. As far as I understand, the solver could not be pickled several times, because it lost the _state_names attribute. This change fixes the issue for me.

@twiecki twiecki requested a review from aseyboldt April 26, 2024 13:34
@twiecki
Copy link
Member

twiecki commented Apr 26, 2024

Failing CI seems unrelated.

@twiecki twiecki merged commit a1e1038 into pymc-devs:master Apr 26, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants