-
Notifications
You must be signed in to change notification settings - Fork 138
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
gcd_ gives wrong results #258
Comments
The "works" ordering gives
whereas the "fails" ordering gives nothing, for me. |
Some more information: when using the "working order", |
I tested, but didn't find any cases, in which these issues (this and #260 ) mess up |
I'm afraid This bug could occur when the numerator of the integer content is a small number, such that it matches the internal ID for symbols, vectors, etc. It is strange we didn't see this one before. You can test if this bug affects the |
I think |
It appears that when the
gcd_
function is called on certain multi-variate expressions containing terms with rational coefficients the wrong result is given. The error depends on the order in which the symbols appearing in the expressions are defined.Tested with
form
andtform
on 26793e4 with macOS 10.13.2 and Linux (openSUSE Tumbleweed 20180116).Example:
Output:
The text was updated successfully, but these errors were encountered: