-
Notifications
You must be signed in to change notification settings - Fork 123
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
polyhedral: more standard constructions #2591
Conversation
Co-authored-by: Lars Göttgens <lars.goettgens@rwth-aachen.de>
…into zkg/associahedron
Co-authored-by: Benjamin Lorenz <benlorenz@users.noreply.github.com> Co-authored-by: Lars Göttgens <lars.goettgens@rwth-aachen.de>
Remove multiplex_polytope and neighborly_cubical_polytope since these come without coordinates and lack many other properties as well. Hence they are almost unusable in Oscar.
Sanitize the input dimension for associahedron as "the polymake error message is not helpful"
- Remove unseeded tests - Add seeds - sort output
I noticed that parts of the additions are inconsistently formatted. @lkastner could you maybe run the formatter on the large chunks of additions? |
f70787a
to
33f88fd
Compare
Again, this is an Oscar wide issue, so why remark it here if the rest of the code is not up to this standard? Furthermore this issue could be solved by having appropriate checks placed in the testsuite. Additionally we have nothing in the docs on I do not think this level of feedback is sustainable. Do you want to remark on these formatting / spacing / whitespace issues on every (many) PR(s) in the future? |
If I remember correctly, I discussed that with some people a while ago (cannot remember who) and the conclusion was more or less: We do not run the formatter on everything at some point, as that creates conflicts with all open PRs and makes git blame basically unusable. Instead, new additions should follow the formatting styleguide, and whenever you touch large parts of a function you may format that as well. However, I do not think this is the right place to discuss it. We should move that to a discussion thread, slack, or a Friday meeting (unfortunately I cannot participate this and next week due to travel), to get a broader range of opinions and then write the result down somewhere, e.g. the dev docs. |
Many new constructions of polytopes were added.
TODO:
deferred generalized_permutahedron (because of type conversion issue)