Skip to content

Commit

Permalink
Removed hardcoding of RPacket radius (#2381)
Browse files Browse the repository at this point in the history
Removed hardcoding of inner boundary while creating r_packets
  • Loading branch information
xansh authored Aug 9, 2023
1 parent 3b97703 commit 3d4eebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/montecarlo/montecarlo_numba/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def montecarlo_main_loop(
seed = packet_seeds[i]
np.random.seed(seed)
r_packet = RPacket(
numba_radial_1d_geometry.r_inner[0],
packet_collection.packets_input_radius[i],
packet_collection.packets_input_mu[i],
packet_collection.packets_input_nu[i],
packet_collection.packets_input_energy[i],
Expand Down

0 comments on commit 3d4eebb

Please sign in to comment.