Skip to content
Snippets Groups Projects
Commit 23178443 authored by James Willis's avatar James Willis
Browse files

Initialise cache count to zero.

parent 19d92fc4
No related branches found
No related tags found
1 merge request!287Particle caching
......@@ -3361,6 +3361,7 @@ void engine_init(struct engine *e, struct space *s,
}
/* Allocate particle cache. */
e->runners[k].par_cache.count = 0;
cache_init(&e->runners[k].par_cache,cache_size);
if (verbose) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment