Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
7131dc13
Commit
7131dc13
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Rolled back the last commit. Clearly signed arithmetic is necessary here.
parent
cfe2ace3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/space.c
+4
-4
4 additions, 4 deletions
src/space.c
with
4 additions
and
4 deletions
src/space.c
+
4
−
4
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++ )
...
...
This diff is collapsed.
Click to expand it.
Peter W. Draper
@pdraper
mentioned in commit
435c8d91
·
9 years ago
mentioned in commit
435c8d91
mentioned in commit 435c8d911a141bb4a49231f00e50a0a7b781e30c
Toggle commit list
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment