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
f3f08986
Commit
f3f08986
authored
Nov 07, 2016
by
Peter W. Draper
Browse files
During a space_regrid the ti_old is set to ti_current, so we need to keep this
parent
bd963d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner.c
View file @
f3f08986
...
...
@@ -799,7 +799,7 @@ static void runner_do_drift(struct cell *c, struct engine *e, int drift) {
if
(
!
c
->
split
)
{
/* Check that we are actually going to move forward. */
if
(
ti_current
>
ti_old
)
{
if
(
ti_current
>
=
ti_old
)
{
/* Loop over all the g-particles in the cell */
const
size_t
nr_gparts
=
c
->
gcount
;
...
...
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