From 6264cf0d115f6be8ba222350c82fc7a5174295d3 Mon Sep 17 00:00:00 2001 From: lhausamm Date: Fri, 1 Jun 2018 14:30:47 +0200 Subject: [PATCH] Fix stars type in select output --- src/common_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common_io.c b/src/common_io.c index d5aaa71ca..4e07406cc 100644 --- a/src/common_io.c +++ b/src/common_io.c @@ -829,7 +829,7 @@ void io_check_output_fields(const struct swift_params* params, /* Copy N_total to array with length == 6 */ 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 */ for (int ptype = 0; ptype < swift_type_count; ptype++) { -- GitLab