Skip to content
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

volume_cg_hpolytope_simplex is failing #348

Open
Anushkaagrawal22 opened this issue Feb 17, 2025 · 0 comments
Open

volume_cg_hpolytope_simplex is failing #348

Anushkaagrawal22 opened this issue Feb 17, 2025 · 0 comments

Comments

@Anushkaagrawal22
Copy link

Describe the bug
The test case volume_cg_hpolytope_simplex is failing during the volume computation of H-simplex polytopes. The computed volume deviates from the expected and exact values beyond the defined error threshold, causing the test assertion to fail.

To Reproduce
Run the test:
ctest -V -R volume_cg_hpolytope_simplex

See the error in the test output, indicating relative errors that exceed the threshold.

Expected behavior
The computed volume of H-simplex polytopes should be within the specified relative error threshold when compared to the expected and exact volumes.

Screenshots

Image Image

Desktop (please complete the following information):
-OS: macOS
-Compiler: GCC/Clang
-CMake Version: 3.11
-Doctest Version: 2.4.9

Additional context
High relative errors were observed for dimensions 10, 20, and 30, possibly due to numerical precision limitations.
The issue is likely due to strict error thresholds or inaccuracies in expected volume calculations.
Suggest increasing the relative error threshold or using a higher precision data type for calculations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant