Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecker committed Aug 19, 2023
1 parent 6d2de54 commit f240bbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/Modules/ModulesGraded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2328,13 +2328,6 @@ function cm_regularity(M::SubquoModule)
return maximum(V)
end

function cm_regularity(I::MPolyIdeal)
R = base_ring(I)
M = quotient_ring_as_module(I)
return cm_regularity(M)+1
end


#####affine algebras as modules#####

@doc raw"""
Expand Down
4 changes: 2 additions & 2 deletions src/Rings/mpoly-graded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2485,8 +2485,8 @@ end
@doc raw"""
cm_regularity(I::MPolyIdeal)
Given a (homogeneous) ideal `I` in a standard $\mathbb Z$-graded multivariate polynomial ring,
return the Castelnuovo-Mumford regularity of I.
Given a (homogeneous) ideal `I` in a standard $\mathbb Z$-graded multivariate polynomial ring
with coefficients in a field, return the Castelnuovo-Mumford regularity of I.
# Examples
```jldoctest
Expand Down

0 comments on commit f240bbd

Please sign in to comment.