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

Merge branch 'fix_select_io' into 'master'

Fix stars type in select output

Closes #435

See merge request !558
parents 6d54d771 6264cf0d
No related branches found
No related tags found
1 merge request!558Fix stars type in select output
...@@ -829,7 +829,7 @@ void io_check_output_fields(const struct swift_params* params, ...@@ -829,7 +829,7 @@ void io_check_output_fields(const struct swift_params* params,
/* Copy N_total to array with length == 6 */ /* Copy N_total to array with length == 6 */
const long long nr_total[swift_type_count] = { const long long nr_total[swift_type_count] = {
N_total[0], N_total[1], N_total[2], 0, 0, 0}; N_total[0], N_total[1], 0, 0, N_total[2], 0};
/* Loop over all particle types to check the fields */ /* Loop over all particle types to check the fields */
for (int ptype = 0; ptype < swift_type_count; ptype++) { for (int ptype = 0; ptype < swift_type_count; ptype++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment