Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Sep 22, 2024
1 parent be92b40 commit 38694e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/function_field/order_polymod.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,12 +643,12 @@ def decomposition(self, ideal):
# the basis of this order, construct the n n-by-n matrices that show
# how to multiply by each of the basis elements.
matrices = [matrix(o, [self.coordinate_vector(b1*b2) for b1 in self.basis()])
for b2 in self.basis()]
for b2 in self.basis()]

# Let O denote the maximal order self. When reduced modulo p,
# matrices_reduced give the multiplication matrices used to form the
# algebra O mod pO.
matrices_reduced = list(map(lambda M: M.mod(p), matrices))
matrices_reduced = [M.mod(p) for M in matrices]
cat = CommutativeAlgebras(k).FiniteDimensional().WithBasis()
A = FiniteDimensionalAlgebra(k, matrices_reduced,
assume_associative=True,
Expand Down

0 comments on commit 38694e3

Please sign in to comment.