Check for square matrix in make_node to Det#861
Merged
ricardoV94 merged 4 commits intopymc-devs:mainfrom Jun 28, 2024
Merged
Conversation
Contributor
Author
Member
|
Looks like there are float32 tests failing :) |
Member
|
Failing tests are because of the new scipy release: #859 |
ricardoV94
reviewed
Jun 27, 2024
ricardoV94
reviewed
Jun 27, 2024
jessegrabowski
approved these changes
Jun 28, 2024
Member
jessegrabowski
left a comment
There was a problem hiding this comment.
Small suggestions for clarity, but otherwise this looks good to me
Member
|
Also rebase from the current main to get the scipy version pin; that should fix the failing CI |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #861 +/- ##
==========================================
- Coverage 80.99% 80.97% -0.02%
==========================================
Files 169 169
Lines 46939 47015 +76
Branches 11467 11497 +30
==========================================
+ Hits 38019 38072 +53
- Misses 6713 6725 +12
- Partials 2207 2218 +11
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Raise a ValueError if non square matrix (with non shapes) is passed to the Det Op
Related Issue
pt.linalg.detshould eagerly fail if known shapes are not square #856Checklist
Type of change