Skip to content

Commit

Permalink
correction, reaction to review
Browse files Browse the repository at this point in the history
  • Loading branch information
wdecker committed Nov 4, 2024
1 parent 72224be commit 7b085d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion experimental/IntersectionTheory/src/Main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Return `true` if `F` is equal to `G`, and `false` otherwise.
# Examples
```jldoctest
julia> P2 = abstract_projective_space(2)
AbstractVariety of dim 3
AbstractVariety of dim 2
julia> 3*OO(P2, 1) - OO(P2) == tangent_bundle(P2) # Euler sequence
true
Expand All @@ -68,6 +68,10 @@ true
"""
==(F::AbstractBundle, G::AbstractBundle) = chern_character(F) == chern_character(G)

function Base.hash(F::AbstractBundle, h::UInt)
return hash(chern_character(F), h)

Check warning on line 72 in experimental/IntersectionTheory/src/Main.jl

View check run for this annotation

Codecov / codecov/patch

experimental/IntersectionTheory/src/Main.jl#L71-L72

Added lines #L71 - L72 were not covered by tests
end

@doc raw"""
chern_character(F::AbstractBundle)
Expand Down

0 comments on commit 7b085d7

Please sign in to comment.