Commit 124d5477 authored by Taddeus Kroes's avatar Taddeus Kroes

Added match_divide_numerics to main execution rules.

parent c2fb4035
...@@ -3,12 +3,13 @@ from .poly import match_combine_polynomes, match_expand ...@@ -3,12 +3,13 @@ from .poly import match_combine_polynomes, match_expand
from .powers import match_add_exponents, match_subtract_exponents, \ from .powers import match_add_exponents, match_subtract_exponents, \
match_multiply_exponents, match_duplicate_exponent, \ match_multiply_exponents, match_duplicate_exponent, \
match_remove_negative_exponent, match_exponent_to_root match_remove_negative_exponent, match_exponent_to_root
from .numerics import match_divide_numerics
RULES = { RULES = {
OP_ADD: [match_combine_polynomes], OP_ADD: [match_combine_polynomes],
OP_MUL: [match_expand, match_add_exponents], OP_MUL: [match_expand, match_add_exponents],
OP_DIV: [match_subtract_exponents], OP_DIV: [match_subtract_exponents, match_divide_numerics],
OP_POW: [match_multiply_exponents, match_duplicate_exponent, \ OP_POW: [match_multiply_exponents, match_duplicate_exponent, \
match_remove_negative_exponent, match_exponent_to_root], match_remove_negative_exponent, match_exponent_to_root],
} }
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