-
Notifications
You must be signed in to change notification settings - Fork 229
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
compiler: fix non arithmetic distances #2165
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2165 +/- ##
=======================================
Coverage 87.04% 87.04%
=======================================
Files 223 223
Lines 39946 39957 +11
Branches 7295 7295
=======================================
+ Hits 34769 34781 +12
+ Misses 4598 4597 -1
Partials 579 579
|
try: | ||
ret[d][0] = min(ret[d][0], value) | ||
ret[d][1] = max(ret[d][1], value) | ||
except TypeError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, why can we now end up here with SymPy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean SymPy 1.12 and not SymPy 1.11 for example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow previous versions end up with {0, expr}
asv
and therefore 0
as value
but with sympy 1.12 you only get {expr}
which breaks mon/max. Didn't look too deep into why though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there might be a deeper issue then; are we now generating the same exact code for the MFE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are we test all sympy version 1.9-1.12 that pass the same test
Thanks, merged |
Fix #2163