solve (-2) * ... parenthesis issue

This commit is contained in:
Lafrite 2014-02-25 17:02:15 +01:00
parent bf7344c318
commit c420ef980b
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ class Render(object):
""" """
# Si l'operande est negatif # Si l'operande est negatif
if self.isNumber(operande) \ if self.isNumber(operande) \
and operande < 0: and operande < 0 \
and posi == "after":
return 1 return 1
# Si c'est un polynom # Si c'est un polynom