From 04a0a3f6da30f60e63cd9c50918014117f74bc88 Mon Sep 17 00:00:00 2001 From: Filip Husko <filip.husko@durham.ac.uk> Date: Tue, 21 May 2024 10:02:20 +0000 Subject: [PATCH] Fix io for a jet-related tracer --- src/tracers/EAGLE/tracers_io.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/tracers/EAGLE/tracers_io.h b/src/tracers/EAGLE/tracers_io.h index 53c02b192f..e56b736a23 100644 --- a/src/tracers/EAGLE/tracers_io.h +++ b/src/tracers/EAGLE/tracers_io.h @@ -398,11 +398,11 @@ __attribute__((always_inline)) INLINE static int tracers_write_sparticles( "corresponds to the thick disc, 1 to the " "thin disc and 2 to the slim disc."); - list[16] = - io_make_output_field("LastAGNJetKickBHId", CHAR, 1, UNIT_CONV_NO_UNITS, - 0.f, sparts, tracers_data.last_jet_kick_BH_id, - "The id of the BH that last kicked this " - "particle."); + list[16] = io_make_output_field("LastAGNJetKickBHId", ULONGLONG, 1, + UNIT_CONV_NO_UNITS, 0.f, sparts, + tracers_data.last_jet_kick_BH_id, + "The id of the BH that last kicked this " + "particle."); return 17; } else { -- GitLab