Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
OpenMesh
Commits
18475d87
Commit
18475d87
authored
Mar 27, 2020
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use NDEBUG instead of DEBUG for portability
parent
d04ec789
Pipeline
#13881
passed with stages
in 131 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/Unittests/unittests_smart_handles.cc
src/Unittests/unittests_smart_handles.cc
+3
-3
No files found.
src/Unittests/unittests_smart_handles.cc
View file @
18475d87
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment