From b77f212a1650b15bf1096da6d8e4061fbf3592f0 Mon Sep 17 00:00:00 2001 From: Sumit112192 Date: Wed, 5 Jun 2024 21:28:39 +0530 Subject: [PATCH] Change as black suggested --- tardis/transport/montecarlo/packet_trackers.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tardis/transport/montecarlo/packet_trackers.py b/tardis/transport/montecarlo/packet_trackers.py index c00642557ea..ae5d46d9c36 100644 --- a/tardis/transport/montecarlo/packet_trackers.py +++ b/tardis/transport/montecarlo/packet_trackers.py @@ -139,9 +139,9 @@ class RPacketLastInteractionTracker: The id of the last interaction that the r_packet went LINE : 2 ESCATTERING : 4 - CONTINUUM_PROCESS : 8 + CONTINUUM_PROCESS : 8 energy : float - The energy of the r_packet + The energy of the r_packet in_id : int in_nu : float @@ -149,8 +149,9 @@ class RPacketLastInteractionTracker: out_id : int nu : float - + """ + def __init__(self, no_of_packets): self.radius = -1 * np.ones(no_of_packets, dtype=np.float64) self.shell_id = -1 * np.ones(no_of_packets, dtype=np.int64)