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
db07cdfb
Commit
db07cdfb
authored
Sep 11, 2019
by
Loic Hausammann
Browse files
Logger: fix make_output
parent
1759eef3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/logger_io.h
View file @
db07cdfb
...
...
@@ -51,10 +51,10 @@ __attribute__((always_inline)) INLINE static void hydro_write_index(
/* List what we want to write */
list
[
0
]
=
io_make_output_field
(
"ParticleIDs"
,
ULONGLONG
,
1
,
UNIT_CONV_NO_UNITS
,
parts
,
id
);
UNIT_CONV_NO_UNITS
,
0
.
f
,
parts
,
id
,
"will be erased"
);
list
[
1
]
=
io_make_output_field
(
"Offset"
,
ULONGLONG
,
1
,
UNIT_CONV_NO_UNITS
,
xparts
,
logger_data
.
last_offset
);
list
[
1
]
=
io_make_output_field
(
"Offset"
,
ULONGLONG
,
1
,
UNIT_CONV_NO_UNITS
,
0
.
f
,
xparts
,
logger_data
.
last_offset
,
"will be erased"
);
}
#endif
...
...
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