Commit db07cdfb authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Logger: fix make_output

parent 1759eef3
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment