Commit 7fc730c8 authored by Taddeus Kroes's avatar Taddeus Kroes

Gave polynome possibilities precedence over groups.

parent e86e7b9c
...@@ -11,8 +11,8 @@ from .fractions import match_constant_division, match_add_constant_fractions, \ ...@@ -11,8 +11,8 @@ from .fractions import match_constant_division, match_add_constant_fractions, \
RULES = { RULES = {
OP_ADD: [match_add_constant_fractions, match_combine_groups, \ OP_ADD: [match_add_constant_fractions, match_combine_polynomes, \
match_combine_polynomes], match_combine_groups],
OP_MUL: [match_expand, match_add_exponents, \ OP_MUL: [match_expand, match_add_exponents, \
match_expand_and_add_fractions], match_expand_and_add_fractions],
OP_DIV: [match_subtract_exponents, match_divide_numerics, \ OP_DIV: [match_subtract_exponents, match_divide_numerics, \
......
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