Skip to content

volume_cg_hpolytope_simplex is failing #348

@Anushkaagrawal22

Description

@Anushkaagrawal22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions