use NDEBUG instead of DEBUG for portability

This commit is contained in:
Max Lyon
2020-03-27 15:20:13 +01:00
parent d04ec78955
commit 18475d87bc

View File

@@ -415,10 +415,10 @@ TEST_F(OpenMeshSmartHandles, ComplicatedNavigtaion)
*/
TEST_F(OpenMeshSmartHandles, Performance)
{
#if DEBUG
int n_tests = 300000;
#else
#if NDEBUG
int n_tests = 10000000;
#else
int n_tests = 300000;
#endif
auto t_before_old = std::chrono::high_resolution_clock::now();