Commit 18475d87 authored by Max Lyon's avatar Max Lyon

use NDEBUG instead of DEBUG for portability

parent d04ec789
Pipeline #13881 passed with stages
in 131 minutes and 23 seconds
...@@ -415,10 +415,10 @@ TEST_F(OpenMeshSmartHandles, ComplicatedNavigtaion) ...@@ -415,10 +415,10 @@ TEST_F(OpenMeshSmartHandles, ComplicatedNavigtaion)
*/ */
TEST_F(OpenMeshSmartHandles, Performance) TEST_F(OpenMeshSmartHandles, Performance)
{ {
#if DEBUG #if NDEBUG
int n_tests = 300000;
#else
int n_tests = 10000000; int n_tests = 10000000;
#else
int n_tests = 300000;
#endif #endif
auto t_before_old = std::chrono::high_resolution_clock::now(); auto t_before_old = std::chrono::high_resolution_clock::now();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment