Skip to content

Commit

Permalink
FreeModule -> free_module; VectorSpace -> vector_space (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Feb 28, 2024
1 parent f1c1a35 commit a116eb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/NumField/Subfields.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function _subfield_basis(K::S, as::Vector{T}) where {
k = base_field(K)

d = degree(K)
Kvs = VectorSpace(k, d)
Kvs = vector_space(k, d)
# We transition the coefficients of a in reverse order, so that the
# first vector in the row reduced echelon form yields the highest
# degree among all elements of Fas.
Expand Down
4 changes: 2 additions & 2 deletions src/NumFieldOrd/NfOrd/Ideal/Relative.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ function minimum(m::T, I::AbsNumFieldOrderIdeal{AbsSimpleNumField, AbsSimpleNumF
bk = map(m, basis(maximal_order(k), k))
bK = map(K, basis(I))
d = lcm(lcm(map(denominator, bk)), lcm(map(denominator, bK)))
F = FreeModule(FlintZZ, degree(K))
F = free_module(FlintZZ, degree(K))

hsk = ModuleHomomorphism(FreeModule(FlintZZ, degree(k)), F, elem_type(F)[F(matrix(FlintZZ, 1, degree(K), coefficients(d*x))) for x = bk])
hsk = ModuleHomomorphism(free_module(FlintZZ, degree(k)), F, elem_type(F)[F(matrix(FlintZZ, 1, degree(K), coefficients(d*x))) for x = bk])
hsK = ModuleHomomorphism(F, F, elem_type(F)[F(matrix(FlintZZ, 1, degree(K), coefficients(d*x))) for x = bK])
sk = image(hsk)
imhsK = image(hsK)
Expand Down
2 changes: 1 addition & 1 deletion src/QuadForm/Herm/GenusRep.jl
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ function genus_generators(L::HermLat)
VD = Int[ valuation(D, P) for P in PP ]
K, k = kernel(nnorm)
F = GF(2, cached = false)
V = VectorSpace(F, length(PP))
V = vector_space(F, length(PP))
S = elem_type(V)[]
for u in gens(K)
z = elem_type(F)[]
Expand Down

0 comments on commit a116eb9

Please sign in to comment.