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
23178443
Commit
23178443
authored
Nov 30, 2016
by
James Willis
Browse files
Initialise cache count to zero.
parent
19d92fc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
23178443
...
...
@@ -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
)
{
...
...
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