-
-
Notifications
You must be signed in to change notification settings - Fork 480
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 in volume computation of polyhedron #18214
Comments
Changed keywords from none to bug |
This comment has been minimized.
This comment has been minimized.
comment:4
Here is a proposal for a solution. In case of inexact base ring, I introduce a non-zero epsilon constant, to take care of approximate equality of points. Maybe this could become a parameter. New commits:
|
Branch: u/chapoton/18214 |
Commit: |
Author: Frédéric Chapoton |
comment:5
I think you also need to change method And that epsilon should indeed be customizable. And when |
Reviewer: Matthias Koeppe |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Is this still reproducable? I get
|
comment:14
Replying to @vbraun:
On my computer it is. |
comment:15
patchbot petitbonum is seeing this as a random failure:
|
comment:16
Replying to @videlec:
Also reproducible on my Google CE host, with 8 Xeon CPUs: |
comment:17
with random test order I get more errors like this:
|
comment:18
Degenerate polyhedra over floating-point numbers aren't really supported; Usually you are lucky and numerical errors triangulate your faces. But if you are unlucky then numerical fuzz leads to inconsistent incidence relations where a point is on both (or neither) side of a plane. Just adding fuzzy zero is afaik not enough. |
comment:19
This seems to be state of the art: https://dl.acm.org/citation.cfm?id=3194656 Surely, naive triangulation approach is doomed to fail... |
comment:20
And here is the code: https://github.com/GeomScale/volume_approximation (it's C++). |
Changed branch from u/chapoton/18214 to u/dimpase/GQ |
Changed author from Frédéric Chapoton to Frédéric Chapoton, Dima Pasechnik |
comment:22
ok |
Changed author from Frédéric Chapoton, Dima Pasechnik to Dima Pasechnik |
Changed reviewer from Matthias Koeppe to Matthias Koeppe,Frédéric Chapoton |
Changed branch from u/dimpase/GQ to |
The same error is triggered by
CC: @jplab @mo271 @tom111
Component: geometry
Keywords: bug
Author: Dima Pasechnik
Branch/Commit:
b6758cd
Reviewer: Matthias Koeppe,Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/18214
The text was updated successfully, but these errors were encountered: