Skip to content

Commit

Permalink
fix suggested details
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jul 9, 2023
1 parent 74dba3d commit 2554547
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/schemes/cyclic_covers/cycliccover_finite_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,16 +594,16 @@ def _vertical_matrix_reduction(self, s0):
[0 for i in range(d - 2)] + self._flift.list() + [0 for i in range(d - 1)]
)
fd_co = (
[0 for i in range(d - 1)] + self._dflift.list() + [0 for i in range(d - 0)]
[0 for i in range(d - 1)] + self._dflift.list() + [0 for i in range(d)]
)

rows = [f_co[d - 2 - i: -i - 1] for i in range(d - 1)]
rows += [fd_co[d - 1 - i: -i - 1] for i in range(d)]
rows = [f_co[d - 2 - i:-i - 1] for i in range(d - 1)]
rows += [fd_co[d - 1 - i:-i - 1] for i in range(d)]

m = matrix(rows).transpose().inverse()

a_foo = m[0:d, 0:d]
b_foo = m[d - 1: 2 * d - 1, 0:d]
b_foo = m[d - 1:2 * d - 1, 0:d]
a_foo = matrix(d, d, lambda i, j: 1 if i == j and i != d - 1 else 0) * a_foo
foo = matrix(d, d, lambda i, j: j if i == j - 1 else 0)
bp_foo = foo * b_foo
Expand Down

0 comments on commit 2554547

Please sign in to comment.