-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
'sympy/holonomic/tests/test_holonomic.py' fails on master #19222
Comments
It seems that different instances of Symbol may have the same hash value. That makes them indistinguishable in the cache. Therefore, comparisons of Symbols should use sympy/sympy/holonomic/holonomic.py Lines 2809 to 2815 in 0b42f52
It looks like a version of
The test |
Yeah, the tests ran individually but running the entire file seems to fail. How come this doesn't get caught on travis ? something to do with the Splitting ? |
If the failure is cache dependent then it can depend on the order in which tests are run. |
Isn't this a bomb waiting to explode 😄, Ideally they shouldn't have the same value unless they are the thing right ? ( I haven't gone through the caching part of the sympy codebase yet ) |
So fixing the cache system should prevent these right ? cause the code seems alright on it's own. > (Pdb) p t[0] is x
> False
> (Pdb) p t[0] == x
> True This looks like compromising in order to escape potential caching error |
There is no problem with the cache here. The code that is using |
Ahhh okay, I’ll push a fix for that 😁 |
The Complete Logs
The text was updated successfully, but these errors were encountered: