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
8fbde478
Commit
8fbde478
authored
Aug 14, 2017
by
Matthieu Schaller
Browse files
No need to explicitly activate the drift_part task in engine_marktask()
parent
c31fe0bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
8fbde478
...
...
@@ -2830,8 +2830,7 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
/* Kick/Drift/init ? */
if
(
t
->
type
==
task_type_kick1
||
t
->
type
==
task_type_kick2
||
t
->
type
==
task_type_drift_part
||
t
->
type
==
task_type_drift_gpart
||
t
->
type
==
task_type_init_grav
)
{
t
->
type
==
task_type_drift_gpart
||
t
->
type
==
task_type_init_grav
)
{
if
(
cell_is_active
(
t
->
ci
,
e
))
scheduler_activate
(
s
,
t
);
}
...
...
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