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
7131dc13
Commit
7131dc13
authored
Oct 27, 2015
by
Matthieu Schaller
Browse files
Rolled back the last commit. Clearly signed arithmetic is necessary here.
parent
cfe2ace3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
7131dc13
...
...
@@ -492,8 +492,8 @@ void parts_sort(struct part *parts, struct xpart *xparts, int *ind, int N,
unsigned
int
qstack_size
=
2
*
(
max
-
min
)
+
10
;
volatile
unsigned
int
first
,
last
,
waiting
;
unsigned
int
pivot
;
unsigned
int
i
,
ii
,
j
,
jj
,
temp_i
,
qid
;
int
pivot
;
int
i
,
ii
,
j
,
jj
,
temp_i
,
qid
;
struct
part
temp_p
;
struct
xpart
temp_xp
;
...
...
@@ -636,8 +636,8 @@ void gparts_sort(struct gpart *gparts, int *ind, int N, int min, int max) {
int
qstack_size
=
2
*
(
max
-
min
)
+
10
;
volatile
unsigned
int
first
,
last
,
waiting
;
unsigned
int
pivot
;
unsigned
int
i
,
ii
,
j
,
jj
,
temp_i
,
qid
;
int
pivot
;
int
i
,
ii
,
j
,
jj
,
temp_i
,
qid
;
struct
gpart
temp_p
;
/* for ( int k = 0 ; k < N ; k++ )
...
...
Peter W. Draper
@pdraper
mentioned in commit
435c8d91
·
Oct 27, 2015
mentioned in commit
435c8d91
mentioned in commit 435c8d911a141bb4a49231f00e50a0a7b781e30c
Toggle commit list
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