Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
remove automatic simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Apr 23, 2020
1 parent a60c688 commit 37a5667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/modular/multiple_zeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ def product_on_basis(self, w1, w2):
sage: M.product_on_basis(y,x)
I(10110) + 3*I(11010) + 6*I(11100)
"""
return sum(self.basis()[u] for u in w1.shuffle(w2)) # .simplify() ?
return sum(self.basis()[u] for u in w1.shuffle(w2))

def half_product_on_basis(self, w1, w2):
r"""
Expand All @@ -1181,7 +1181,7 @@ def half_product_on_basis(self, w1, w2):
assert w1
u1 = Word([w1[0]])
r1 = w1[1:]
return sum(self.basis()[u1 + u] for u in r1.shuffle(w2)).simplify()
return sum(self.basis()[u1 + u] for u in r1.shuffle(w2))

@lazy_attribute
def half_product(self):
Expand Down

0 comments on commit 37a5667

Please sign in to comment.