-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Polyhedron.bounding_box: New keyword argument integral_hull, use it in .integral_points #22578
Comments
New commits:
|
Commit: |
Changed keywords from none to days84 |
comment:5
This causes doctest failures in sandpiles. My guess is something is now returning a |
comment:6
Thanks for catching this. I'm preparing a fix. |
comment:8
Fixed the failures that resulted from empty bounding boxes; |
comment:9
If the output of |
Changed keywords from days84 to days84, days85 |
Reviewer: Travis Scrimshaw |
comment:11
It looks like the order of some doctests in sandpiles have either changes or does depend on the machine/memory location (which is the case if they pass on your machine). I do agree that they are all trivial failures and can be easily fixed, but I just need an answer to which of the above cases we are in. |
comment:12
I think the order has changed because a different enumeration strategy is selected. I don't think it's machine or address specific. |
comment:13
If you want to change the tests so that the order is sorted, go ahead. I would avoid using |
comment:14
I would strongly suggest to adjust the tests to use |
comment:15
I will do so now. |
comment:16
All tests now pass, and they are now checked by sorting the output. If my changes look good to you, then you can set a positive review. New commits:
|
comment:17
Looks good. Thanks very much! |
Changed branch from public/geometry/polyhedron_bounding_box_integer_hull-22578 to |
Changed branch from |
Changed commit from |
Changed branch from u/jmantysalo/18e7a748198e1c3abc175b703a24d1010b8ee8cf to |
comment:20
Sorry, my typo in a ticket number. |
An amazing insight is that if one wants to know to bounding box of the integer points, rather than of all points, then one can round down upper bounds and round up lower bounds.
This can make a huge difference for integer points enumeration.
CC: @videlec @jplab @tscrim
Component: geometry
Keywords: days84, days85
Author: Matthias Koeppe
Branch:
18e7a74
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/22578
The text was updated successfully, but these errors were encountered: