Skip to content

Commit

Permalink
Update one call to vcat
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Nov 23, 2023
1 parent 94b0d03 commit 6f73dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GrpAb/stable_sub.jl
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function minimal_submodules(M::ZpnGModule, ord::Int=-1)
v = Int[M.p^(valuation(S.V.snf[i], M.p)-1) for i=1:ngens(S.V)]
W = matrix_space(R, 1, ngens(M.V); cached=false)
for z = 1:length(list)
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])])
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])])
end
return list

Expand Down

0 comments on commit 6f73dfc

Please sign in to comment.