Skip to content

Commit ff9f7e1

Browse files
committed
Update uses of vcat
1 parent 94b0d03 commit ff9f7e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/GrpAb/stable_sub.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function minimal_submodules(M::ZpnGModule, ord::Int=-1)
299299
v = Int[M.p^(valuation(S.V.snf[i], M.p)-1) for i=1:ngens(S.V)]
300300
W = matrix_space(R, 1, ngens(M.V); cached=false)
301301
for z = 1:length(list)
302-
list[z] = vcat(zzModMatrix[W((mS(S.V(ZZRingElem[lift(list_sub[z][k,i])*v[i] for i=1:ngens(S.V)]))).coeff) for k=1:nrows(list_sub[z])])
302+
list[z] = reduce(vcat, [W((mS(S.V(ZZRingElem[lift(list_sub[z][k,i])*v[i] for i=1:ngens(S.V)]))).coeff) for k=1:nrows(list_sub[z])])
303303
end
304304
return list
305305

src/Misc/jordan.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ function simultaneous_diagonalization(L::Vector{S}; check::Bool = true) where S
849849

850850
# Compute transformation matrix
851851
CE = common_eigenspaces(L, side = :left)
852-
A = Hecke.vcat(collect(values(CE)))
852+
A = reduce(vcat, values(CE))
853853

854854
# Compute diagonal forms
855855
D = [ zero_matrix(base_ring(L[1]), nrows(L[1]), ncols(L[1])) for i = 1:length(L) ]

src/NumField/Subfields.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function fixed_field(K::NfRel, A::Vector{T}; simplify::Bool = true) where {T <:
397397
if length(ar_mat) == 0
398398
return K, id_hom(K)
399399
else
400-
bigmatrix = hcat(ar_mat)
400+
bigmatrix = reduce(hcat, ar_mat)
401401
k, Ker = kernel(bigmatrix, side = :left)
402402
bas = Vector{elem_type(K)}(undef, k)
403403
for i in 1:k

0 commit comments

Comments
 (0)