Skip to content
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

Problem with unary opeation not #40

Merged
merged 1 commit into from Sep 2, 2021
Merged

Problem with unary opeation not #40

merged 1 commit into from Sep 2, 2021

Conversation

emetor
Copy link
Collaborator

@emetor emetor commented Aug 30, 2021

'not x' gives '\negx' instead of '\neg x'
I'm not sure if this is the best solution to debug this problem? At least it seems to work!
This bug was introduced in the function visit_UnaryOp(self, n) when removing the space between {0} and {1}... so that 10**-3 yields $$10^{-3}$$ and not $$10^{- 3}$$

'not x' gives '\negx' instead of '\neg x'
I'm not sure if this is the best solution to debug this problem? At least it seems to work!
This bug was introduced in the function visit_UnaryOp(self, n) when removing the space between {0} and {1}... so that 10**-3 yields $$10^{-3}$$ and not $$10^{- 3}$$
@emetor emetor merged commit 86d2f0c into erwanp:master Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant