-
Notifications
You must be signed in to change notification settings - Fork 156
Description
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
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