Skip to content
Snippets Groups Projects
Commit 342a9567 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Correct type to read in the DM particle IDs.

parent acc908e4
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,7 @@ void darkmatter_read_particles(struct gpart* gparts, struct io_props* list, ...@@ -87,7 +87,7 @@ void darkmatter_read_particles(struct gpart* gparts, struct io_props* list,
UNIT_CONV_SPEED, gparts, v_full); UNIT_CONV_SPEED, gparts, v_full);
list[2] = io_make_input_field("Masses", FLOAT, 1, COMPULSORY, UNIT_CONV_MASS, list[2] = io_make_input_field("Masses", FLOAT, 1, COMPULSORY, UNIT_CONV_MASS,
gparts, mass); gparts, mass);
list[3] = io_make_input_field("ParticleIDs", LONGLONG, 1, COMPULSORY, list[3] = io_make_input_field("ParticleIDs", ULONGLONG, 1, COMPULSORY,
UNIT_CONV_NO_UNITS, gparts, id_or_neg_offset); UNIT_CONV_NO_UNITS, gparts, id_or_neg_offset);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment