Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
02dbafb0
Commit
02dbafb0
authored
Sep 16, 2015
by
Pedro Gonnet
Browse files
comment-out verification, should only be used for debugging.
Former-commit-id: 0a563d808c4b589846f7298b5a884ba132d2b7b3
parent
0470d40f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
02dbafb0
...
...
@@ -505,10 +505,10 @@ void space_parts_sort(struct space *s, int *ind, int N, int min, int max) {
engine_launch
(
s
->
e
,
s
->
e
->
nr_threads
,
(
1
<<
task_type_psort
));
/* Verify space_sort_struct. */
for
(
int
i
=
1
;
i
<
N
;
i
++
)
/*
for (int i = 1; i < N; i++)
if (ind[i - 1] > ind[i])
error("Sorting failed (ind[%i]=%i,ind[%i]=%i).", i - 1, ind[i - 1], i,
ind
[
i
]);
ind[i]);
*/
// Clean up.
free
(
space_sort_struct
.
stack
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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