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
dc18c103
Commit
dc18c103
authored
Feb 26, 2015
by
Pedro Gonnet
Browse files
fixing issue
#8
, pointed out by bert, in the main branch.
Former-commit-id: 0776d4e0c4ff20bf6e3734dc0ffdfdcd7acf926e
parent
10ac0972
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
dc18c103
...
...
@@ -400,7 +400,7 @@ void space_rebuild ( struct space *s , double cell_max ) {
/* Sort the parts according to their cells. */
// tic = getticks();
gparts_sort
(
gparts
,
ind
,
nr_parts
,
0
,
s
->
nr_cells
-
1
);
gparts_sort
(
gparts
,
ind
,
nr_
g
parts
,
0
,
s
->
nr_cells
-
1
);
// message( "gparts_sort took %.3f ms." , (double)(getticks() - tic) / CPU_TPS * 1000 );
/* Re-link the parts. */
...
...
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