Skip to content

Commit

Permalink
Use sparse matrices.
Browse files Browse the repository at this point in the history
  • Loading branch information
HechtiDerLachs committed Jan 24, 2024
1 parent 227c131 commit d67888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/ModulesGraded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,7 @@ function _constant_sub_matrix(
ind_cod = _indices_of_generators_of_degree(G, d)
m = length(ind_dom)
n = length(ind_cod)
result = zero_matrix(kk, m, n)
result = sparse_matrix(kk, m, n)
img_gens = images_of_generators(phi)
for (i, l) in enumerate(ind_dom)
v = coordinates(img_gens[l])
Expand Down

0 comments on commit d67888b

Please sign in to comment.