Download vendor/libigl/tests/main.cpp from AVSim/simulation-package: direct link, hf CLI and curl.
- Browser
- Download file 679 Bytes
-
https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/vendor/libigl/tests/main.cpp
- Command line
-
hf download hf://datasets/AVSim/simulation-package/vendor/libigl/tests/main.cpp
-
curl -L -o main.cpp https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/vendor/libigl/tests/main.cpp
679 Bytes
| //////////////////////////////////////////////////////////////////////////////// | |
| // Keep this file empty, and implement unit tests in separate compilation units! | |
| //////////////////////////////////////////////////////////////////////////////// | |
| // TODO: Fix floating point exceptions raised in debug mode before re-enabling this. | |
| // #ifndef NDEBUG | |
| // #ifdef __linux__ | |
| // #include <fenv.h> | |
| // #endif | |
| // #endif | |
| // #ifndef NDEBUG | |
| // #ifdef __linux__ | |
| // void beforeMain (void) __attribute__((constructor)); | |
| // void beforeMain (void) | |
| // { | |
| // feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW); | |
| // } | |
| // #endif | |
| // #endif | |