From 3ead7208abcc09f5b6cc9545d3072f6c224b4930 Mon Sep 17 00:00:00 2001 From: HechtiDerLachs Date: Mon, 25 Nov 2024 21:13:47 +0100 Subject: [PATCH] Repair constructor. --- .../src/Objects/eagon_northcott_complex.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/DoubleAndHyperComplexes/src/Objects/eagon_northcott_complex.jl b/experimental/DoubleAndHyperComplexes/src/Objects/eagon_northcott_complex.jl index b8ce30f6a6db..728fdce60776 100644 --- a/experimental/DoubleAndHyperComplexes/src/Objects/eagon_northcott_complex.jl +++ b/experimental/DoubleAndHyperComplexes/src/Objects/eagon_northcott_complex.jl @@ -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)