Commit 913976a0 authored by Taddeus Kroes's avatar Taddeus Kroes

Code cleanup.

parent bd6d26a6
......@@ -69,17 +69,6 @@ def add_numerics(root, args):
MESSAGES[add_numerics] = _('Add the constants {2} and {3}.')
#def match_subtract_numerics(node):
# """
# 3 - 2 -> 2.0
# 3.0 - 2 -> 1.0
# 3 - 2.0 -> 1.0
# 3.0 - 2.0 -> 1.0
# """
# # TODO: This should be handled by match_combine_polynomes
# assert node.is_op(OP_MUL)
def match_divide_numerics(node):
"""
Combine two constants to a single constant in a division, if it does not
......
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