-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Switch cones to PointCollection
#12544
Comments
comment:1
So far the patch is "proof of concept" and with the alternative solution on #12541 it passes all the tests for cones and fans (except for like 60 fails due to changed output formatting). This is exactly what was intended: most things should work as if |
Dependencies: #12541 |
This comment has been minimized.
This comment has been minimized.
comment:3
I've tried to break changes into several patches, although they got bigger and bigger. However, despite of the total size, these patches should be easy to review as they don't do anything deep - a few conversion methods, a few deprecations, and a lot of doctest changes due to different output formatting. Personally, I am quite pleased with the results - while some calls got a few more characters, one of the most important methods for cones and fans now produces convenient output with a detailed but not repeated description of the ambient lattice. This worked especially well for quotients and sublattices, whose description was not obvious from ray output before. Hopefully, that's not just my point of view and the changes are objectively for the best ;-) I have #11599 in the beginning of my queue now, so this ticket is based on top of it. |
comment:4
Rebased to apply on top of the positively reviewed #11634 |
comment:5
... and removed added trailing whitespaces. |
comment:6
(My guess is that you removed a trailing whitespace from a line in an earlier patch that was used as a context line by this later one.) |
comment:7
Grrr... That's precisely what has happened. New versions are made using hg export and seem to apply fine... |
comment:8
Rebased on top of #12361, which is almost done. |
comment:9
According to the patchbot this is failing to apply to 5.0.beta10 -- any idea what that's about? |
Work Issues: patch does not apply |
comment:10
I don't know - maybe I have saved some changes in the previous patches as well. I've reexported versions that apply to beta10 for me without any problems. |
Changed work issues from patch does not apply to none |
comment:30
OK, ready to go! |
Changed work issues from output formatting, base rings to none |
comment:31
Patchbot, apply only trac_12544_switch_cones_to_PointCollection_folded.patch |
comment:32
Apply trac_12544_switch_cones_to_PointCollection_folded.patch |
comment:33
Apply trac_12544_switch_cones_to_PointCollection_folded.patch |
This comment has been minimized.
This comment has been minimized.
comment:35
The patchbot positively hates this ticket and does not want to understand that only last patch has to be applied... |
Reviewer: Volker Braun |
comment:36
Looks good to me. |
comment:38
Apply only trac_12544_switch_cones_to_PointCollection_folded.patch |
comment:39
apply trac_12544_switch_cones_to_PointCollection_folded.patch |
This comment has been minimized.
This comment has been minimized.
comment:41
So - any clue what is wrong with the patchbot here? |
Merged: sage-5.2.beta1 |
The class
PointCollection
at #11400 is intended for uniform handling of ray/line generators and their subsets for cones, fans, and, eventually, lattice polytopes. This ticket is about making the switch for cones.Apply: attachment: trac_12544_switch_cones_to_PointCollection_folded.patch
Depends on #12965
CC: @vbraun
Component: geometry
Keywords: toric, sd40.5
Author: Andrey Novoseltsev
Reviewer: Volker Braun
Merged: sage-5.2.beta1
Issue created by migration from https://trac.sagemath.org/ticket/12544
The text was updated successfully, but these errors were encountered: