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
5c4963fc
Commit
5c4963fc
authored
Aug 24, 2016
by
Matthieu Schaller
Browse files
Suppress a GCC warning
parent
dcb0fd7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
5c4963fc
...
...
@@ -830,8 +830,8 @@ int cell_is_drift_needed(struct cell *c, int ti_current) {
continue
;
/* Does the other cell in the pair have an active particle ? */
if
((
l
->
t
->
ci
==
c
)
&&
(
l
->
t
->
cj
->
ti_end_min
==
ti_current
)
||
(
l
->
t
->
cj
==
c
)
&&
(
l
->
t
->
ci
->
ti_end_min
==
ti_current
))
if
((
l
->
t
->
ci
==
c
&&
l
->
t
->
cj
->
ti_end_min
==
ti_current
)
||
(
l
->
t
->
cj
==
c
&&
l
->
t
->
ci
->
ti_end_min
==
ti_current
))
return
1
;
}
...
...
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