Skip to content

Commit

Permalink
Repair constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
HechtiDerLachs committed Nov 25, 2024
1 parent 54a2176 commit 3ead720
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ end
A::MatrixElem{T};
F::FreeMod{T}=begin
R = base_ring(A)
F = is_graded(R) ? graded_free_module(R, [zero(grading_group(R)) for _ in 1:n]) : FreeMod(R, n)
F = is_graded(R) ? graded_free_module(R, [zero(grading_group(R)) for _ in 1:ncols(A)]) : FreeMod(R, ncols(A))
end
) where {T}
chain_fac = ENCChainFactory(A, F)
Expand Down

0 comments on commit 3ead720

Please sign in to comment.