From 5e482a41065d9393b05f9290af3f8c853ffad5db Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Fri, 21 Jun 2019 16:36:11 +0200 Subject: [PATCH] Use the correct number of fields in the Default gravity i/o call. --- src/gravity/Default/gravity_io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gravity/Default/gravity_io.h b/src/gravity/Default/gravity_io.h index 2150b3c445..1ba3899e7e 100644 --- a/src/gravity/Default/gravity_io.h +++ b/src/gravity/Default/gravity_io.h @@ -104,7 +104,7 @@ INLINE static void darkmatter_write_particles(const struct gpart* gparts, int* num_fields) { /* Say how much we want to write */ - *num_fields = 5; + *num_fields = 4; /* List what we want to write */ list[0] = io_make_output_field_convert_gpart( -- GitLab