Skip to content

Commit

Permalink
Update numba_interface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf authored and DhruvSondhi committed Jan 30, 2022
1 parent 583c739 commit 6696741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tardis/montecarlo/montecarlo_numba/numba_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@ class RPacketTracker(object):
Internal counter for the interactions that a particular RPacket undergoes
"""

def __init__(self):
def __init__(self, seed, index):
self.length = montecarlo_configuration.INITIAL_TRACKING_ARRAY_LENGTH
self.seed = np.empty(self.length, dtype=np.int64)
self.index = np.empty(self.length, dtype=np.int64)
self.seed = seed
self.index = index
self.status = np.empty(self.length, dtype=np.int64)
self.r = np.empty(self.length, dtype=np.float64)
self.nu = np.empty(self.length, dtype=np.float64)
Expand Down

0 comments on commit 6696741

Please sign in to comment.