Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove anonymous functions from sheaves #4121

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
function PrincipalOpenSubset(X::AbsAffineScheme, R::Ring, f::Vector{T};
check::Bool=true
) where {T<:RingElem}
U = spec(R)

Check warning on line 36 in src/AlgebraicGeometry/Schemes/PrincipalOpenSubset/Objects/Types.jl

View check run for this annotation

Codecov / codecov/patch

src/AlgebraicGeometry/Schemes/PrincipalOpenSubset/Objects/Types.jl#L36

Added line #L36 was not covered by tests
@check begin
d = prod(length(f) > 0 ? f : one(OO(X)))
U = spec(R)
U == hypersurface_complement(X, d)
end
return new{base_ring_type(X), ring_type(U), typeof(X)}(X, U, lifted_numerator.(f))
Expand Down
706 changes: 23 additions & 683 deletions src/AlgebraicGeometry/Schemes/Sheaves/CoherentSheaves.jl

Large diffs are not rendered by default.

Loading
Loading