Skip to content

Commit

Permalink
details
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Apr 24, 2022
1 parent baeb43e commit 7750e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/algebras/free_algebra_quotient_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def _mul_(self, y):

def monomial_product(X, w, m):
mats = X._FreeAlgebraQuotient__matrix_action
for (j, k) in m._element_list:
for j, k in m._element_list:
M = mats[int(j)]
for _ in range(k):
w *= M
Expand Down
2 changes: 1 addition & 1 deletion src/sage/algebras/quatalg/quaternion_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ def maximal_order(self, take_shortcuts=True):
e_new_gens = []

# For each prime at which R is not yet maximal, make it bigger
for (p, _) in d_R.factor():
for p, _ in d_R.factor():
e = R.basis()
while self.quaternion_order(e).discriminant().valuation(p) > d_A.valuation(p):
# Compute a normalized basis at p
Expand Down

0 comments on commit 7750e08

Please sign in to comment.