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 numpy integer check in TensorType #478

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Oct 17, 2023

Bug introduced in 6834740

This caused PyMC Windows tests to fail, because integers default to int32 there instead of int64. Anyway, any integer type should be fine.

@ricardoV94 ricardoV94 added the bug Something isn't working label Oct 17, 2023
@ricardoV94 ricardoV94 changed the title Fix numpy integer check Fix numpy integer check in TensorType Oct 17, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #478 (c5b8325) into main (36df379) will increase coverage by 0.00%.
Report is 2 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #478   +/-   ##
=======================================
  Coverage   80.66%   80.66%           
=======================================
  Files         160      160           
  Lines       46025    46029    +4     
  Branches    11266    11268    +2     
=======================================
+ Hits        37124    37128    +4     
  Misses       6668     6668           
  Partials     2233     2233           
Files Coverage Δ
pytensor/tensor/random/op.py 96.25% <ø> (ø)
pytensor/tensor/type.py 94.52% <100.00%> (+0.04%) ⬆️

@ricardoV94 ricardoV94 merged commit 7bb18f3 into pymc-devs:main Oct 17, 2023
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants