Commit bfd41939 authored by Taddeus Kroes's avatar Taddeus Kroes

Merged conflicts.

parent 007c7c36
...@@ -79,10 +79,7 @@ def combine_polynomes(root, args): ...@@ -79,10 +79,7 @@ def combine_polynomes(root, args):
n0, n1, c0, c1, r, e = args n0, n1, c0, c1, r, e = args
# a ^ 1 -> a # a ^ 1 -> a
if e == 1: power = r if e == 1 else r ** e
power = r
else:
power = r ** e
# replacement: (c0 + c1) * a ^ b # replacement: (c0 + c1) * a ^ b
# a, b and c are from 'left', d is from 'right'. # a, b and c are from 'left', d is from 'right'.
......
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