Commit 8eb92b67 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also update the function call in the vectorised self task.

parent b68408f2
...@@ -287,7 +287,7 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec( ...@@ -287,7 +287,7 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec(
if (!cell_is_active(c, e)) return; if (!cell_is_active(c, e)) return;
if (!cell_is_drifted(c, e)) cell_drift(c, e); if (!cell_is_drifted(c, e)) cell_drift_particles(c, e);
/* Get the particle cache from the runner and re-allocate /* Get the particle cache from the runner and re-allocate
* the cache if it is not big enough for the cell. */ * the cache if it is not big enough for the cell. */
...@@ -536,7 +536,7 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec_2( ...@@ -536,7 +536,7 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec_2(
if (!cell_is_active(c, e)) return; if (!cell_is_active(c, e)) return;
if (!cell_is_drifted(c, e)) cell_drift(c, e); if (!cell_is_drifted(c, e)) cell_drift_particles(c, e);
/* TODO: Need to find two active particles, not just one. */ /* TODO: Need to find two active particles, not just one. */
......
...@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) { ...@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
/* Clean the threads */ /* Clean the threads */
threadpool_clean(&t); threadpool_clean(&t);
/* Return a happy number. */ /* Return a happy number. */
return 0; return 0;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment