-
Notifications
You must be signed in to change notification settings - Fork 19
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
Bug:ToricVarieties: DegreeGroup of the Cox ring of a product of varieties is not identical to the SuperObject of degrees of its indeterminates. #231
Comments
I think the fix you propose is fine. Although, we do not have the class group generated as a sum then, which is a problem in the homalg context, as I think the object knows what it is the sum of. So this is a trade-off, I think. But I think it is more important to be able to map the Weil divisors into the class group. Is there a way to actually create the |
It is possible to Take a look at this temporarily commit in devel3 branch Side effect of using another cokernel epimorphism will be a change in the weights of cox ring of product varieties. Trying the above example will give this cox ring:
|
@kamalsaleh Are the weights really changed, or are they just displayed differently? |
The weights are the rows of the matrix of |
I see. So because of applying the iso they are different now. That is fine I guess, since the weights are proper group elements anyway. Do the tests still work? |
One output must be changed in
|
Hallo Sebastian,
In ToricVarieties package one would expect that the
ClassGroup( variety )
is identical as object to the range of the mapMapFromWeilDivisorsToClassGroup( variety )
. Actaully they are by implementation always identical unless the variety is product of two varieties.Try this example:
I would suggest removing the block
from the global function
If this is how you would fix the issue, I can create a PR to do that.
The text was updated successfully, but these errors were encountered: