Commit 30c29dd5 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Updated comment

parent 4b2db8c0
...@@ -328,7 +328,8 @@ class ExpressionNode(Node, ExpressionBase): ...@@ -328,7 +328,8 @@ class ExpressionNode(Node, ExpressionBase):
#if self.op == OP_LOG and self[1].value in (E, DEFAULT_LOGARITHM_BASE): #if self.op == OP_LOG and self[1].value in (E, DEFAULT_LOGARITHM_BASE):
# return 1 # return 1
# Functions always have parentheses # Functions always have parentheses, so return a number higher than 1
# to prevent graph_drawing from treating them as unary operators
if self.op in TOKEN_MAP and TOKEN_MAP[self.op] == 'FUNCTION': if self.op in TOKEN_MAP and TOKEN_MAP[self.op] == 'FUNCTION':
return 2 return 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment