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

Cast test values to the correct dtype before assignment #4221

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

michaelosthege
Copy link
Member

closes #4219

It's a one-liner fix of a bug that was silently present for years, without attracting any attention.
Only surfaced by recent improvements in Theano-PyMC..

@codecov
Copy link

codecov bot commented Nov 11, 2020

Codecov Report

Merging #4221 (2707a61) into master (3f14968) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4221   +/-   ##
=======================================
  Coverage   88.91%   88.91%           
=======================================
  Files          89       89           
  Lines       14429    14429           
=======================================
  Hits        12829    12829           
  Misses       1600     1600           
Impacted Files Coverage Δ
pymc3/model.py 89.33% <100.00%> (ø)

@michaelosthege michaelosthege merged commit f732a01 into pymc-devs:master Nov 11, 2020
@michaelosthege michaelosthege deleted the fix-4219 branch November 11, 2020 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid test value type by Bernoulli distribution
2 participants