Skip to content

Commit

Permalink
Add dummy hash for AbsIdealSheaf (#4366)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Zach <[email protected]>
  • Loading branch information
lgoettgens and HechtiDerLachs authored Dec 2, 2024
1 parent 135f899 commit 13a2cd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AlgebraicGeometry/Schemes/Sheaves/IdealSheaves.jl
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,11 @@ function ==(I::AbsIdealSheaf, J::AbsIdealSheaf)
return true
end

function Base.hash(I::AbsIdealSheaf, h::UInt)
h = hash(scheme(I), h)
return h
end

function is_subset(I::AbsIdealSheaf, J::AbsIdealSheaf)
X = space(I)
X === space(J) || return false
Expand Down

0 comments on commit 13a2cd0

Please sign in to comment.