-
Notifications
You must be signed in to change notification settings - Fork 130
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
ToricVarieties: Add Base.hash #1264
Labels
Comments
Here is my opinion.
Someone (@fingolfin, @ThomasBreuer) can probably say something more about groups. |
We are currently more generous for I do see a method function Base.:(==)(td1::ToricDivisor, td2::ToricDivisor)
return toric_variety(td1) === toric_variety(td2) && coefficients(td1) == coefficients(td2)
end so that means there definitely should be a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Should we add
Base.hash
for our custom types(AffineNormalToricVarieties
,AbstractNormalToricVarieties
,ToricDivisors
,ToricDivsiorClasses
,ToricLineBundles
, (soonToricVectorBundles
andToricCoherentSheaves
) and many more...)?C.f.: https://docs.julialang.org/en/v1/base/base/#Base.hash
The text was updated successfully, but these errors were encountered: