From 18475d87bc5427ca3a0a983331ced0ed1a2c6972 Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Fri, 27 Mar 2020 15:20:13 +0100 Subject: [PATCH] use NDEBUG instead of DEBUG for portability --- src/Unittests/unittests_smart_handles.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Unittests/unittests_smart_handles.cc b/src/Unittests/unittests_smart_handles.cc index bfd8ca22..63122c79 100644 --- a/src/Unittests/unittests_smart_handles.cc +++ b/src/Unittests/unittests_smart_handles.cc @@ -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(); -- GitLab