wrong results in test_commonmatrix #24672
1e9abhi1e10
started this conversation in
General
Replies: 2 comments 9 replies
-
Surely they are equal in the mathematical meaning? >>> ((x+1)**2).expand()
x**2 + 2*x + 1 |
Beta Was this translation helpful? Give feedback.
8 replies
-
I consider |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
from https://github.com/sympy/sympy/blob/master/sympy/matrices/tests/test_commonmatrix.py#L354
But
m[1,2] = x**2 + 2*x + 1
andm[2,1] = (x + 1)**2
which are not equal, therefore m is not symmetric and the method would return False.But current behavior on master is
True
see also #24671
Beta Was this translation helpful? Give feedback.
All reactions