SGrottel
104c1214ee
Avoid fp comparison of glm::sign
return value by introducing a sign comparison helper function
2021-06-05 16:43:47 +02:00
SGrottel
5dbba35275
Changed test functions to explicitly define comparison epsilons.
...
Updated 1aga expected computation results, based on external experiment based on precise / symbolic computation
Unified result comparison to always use `vectorEpsilonEqual` or `matrixEpsilonEqual`
2021-06-05 16:30:40 +02:00
SGrottel
d71dba9603
Introduced a second, less precise comparison epsilon for the tests for now.
2021-05-11 07:44:40 +02:00
SGrottel
18d9b97aa4
Further increased comparison float epsilon, and further test batch testEigenvectors
also failes.
...
Added debug output to `testEigenvectors` in case the error persists.
2021-05-10 23:36:17 +02:00
SGrottel
593b7cc36b
Increased float comparison epsilon to pass tests.
2021-05-10 22:49:57 +02:00
SGrottel
a0ccbcc63d
Added further details on the comparison issue with covariance matrices on some VMs.
...
Also corrected some code style guide, and changed `nullptr` to `GLM_NULLPTR` for better compatibility.
Tests are now executed in blocks of related tests, and only inbetween blocks the tests will exit.
2021-05-10 21:32:01 +02:00
SGrottel
d0d7945141
Additional debug output to investigate why test-gtx_pca
fails on some VMs on Travis.
...
Also, reworked the `#if` about CXX11; did not seem to work correctly.
2021-05-10 19:35:57 +02:00
SGrottel
c792a0a221
Disabled tests requiring random engine when CXX11 STL is not available.
...
Added missed `typename` keywords, and fixed variable initialization.
2021-05-10 17:48:35 +02:00
SGrottel
0f5b544d5d
Corrected errors on Xcode C++98 pure related to language extensions accidentially used.
2021-05-10 16:38:38 +02:00
SGrottel
b8adc27808
Removed lambdas and initializer list ctors to be compatible with older cpp standards.
2021-05-10 15:45:42 +02:00
SGrottel
dd40903b74
Implemented 'principle component analysis' utility in gtx, including tests
2021-05-10 13:14:29 +02:00