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
6744caee
Commit
6744caee
authored
Dec 11, 2017
by
James Willis
Browse files
Increment num_fields instead of setting its value.
parent
0d0fdf85
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Gadget2/hydro_io.h
View file @
6744caee
...
...
@@ -92,7 +92,7 @@ void hydro_write_particles(const struct part* parts, struct io_props* list,
*
num_fields
=
10
;
#ifdef DEBUG_INTERACTIONS_SPH
*
num_fields
=
1
4
;
*
num_fields
+
=
4
;
#endif
/* List what we want to write */
...
...
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