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
Latex bug with minus and Mul #9202
Comments
What answer is expected? |
See this: |
Before fix it's printing |
I think it should be |
But |
Oh sorry! Then I think |
Actually I'm not sure because pretty printer gives this |
Answer should be -(x+5). Printer should print expression, not evaluate and print. |
@simamura87 the confusion is about the space after |
Latex ignores implicit whitespaces, isn't it? |
Why is this issue still open? |
Closing. Fixed by #10889. |
Latex printer can't handle expressions like -(x+5).
I looked int code and found
convert returns simple addition (since minus was previously taken and now x+5 is_Add), then minus is simply prepended.
The text was updated successfully, but these errors were encountered: