Skip to content
Snippets Groups Projects
Commit c0c0d0a0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Typo in the scheduler with gcount --> count

parent ed945100
No related branches found
No related tags found
2 merge requests!136Master,!116Basic implementation of gparts
...@@ -534,7 +534,7 @@ void scheduler_splittasks(struct scheduler *s) { ...@@ -534,7 +534,7 @@ void scheduler_splittasks(struct scheduler *s) {
else if (ci->split) { else if (ci->split) {
/* Make a single sub-task? */ /* Make a single sub-task? */
if (scheduler_dosub && ci->count < space_subsize / ci->count) { if (scheduler_dosub && ci->gcount < space_subsize / ci->gcount) {
t->type = task_type_sub; t->type = task_type_sub;
t->subtype = task_subtype_grav; t->subtype = task_subtype_grav;
...@@ -582,7 +582,7 @@ void scheduler_splittasks(struct scheduler *s) { ...@@ -582,7 +582,7 @@ void scheduler_splittasks(struct scheduler *s) {
else { else {
/* Make a sub-task? */ /* Make a sub-task? */
if (scheduler_dosub && ci->count < space_subsize / cj->count) { if (scheduler_dosub && ci->gcount < space_subsize / cj->gcount) {
t->type = task_type_sub; t->type = task_type_sub;
t->subtype = task_subtype_grav; t->subtype = task_subtype_grav;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment