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
835c678a
Commit
835c678a
authored
Feb 28, 2018
by
Matthieu Schaller
Browse files
Also initialise the cosmology structure in the test125.
parent
1d2aeda4
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test125cells.c
View file @
835c678a
...
...
@@ -596,6 +596,10 @@ int main(int argc, char *argv[]) {
engine
.
max_active_bin
=
num_time_bins
;
engine
.
nodeID
=
NODE_ID
;
struct
cosmology
cosmo
;
cosmology_init_no_cosmo
(
&
cosmo
);
engine
.
cosmology
=
&
cosmo
;
struct
runner
runner
;
runner
.
e
=
&
engine
;
...
...
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