Skip to content

Commit

Permalink
Merge pull request #20 from Rodot-/fast_formal_integral_subbranch
Browse files Browse the repository at this point in the history
added back the z_end
  • Loading branch information
Rodot- committed Jul 22, 2024
2 parents 9aa9983 + 90a1072 commit 2c44873
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tardis/transport/montecarlo/formal_integral_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def cuda_formal_integral(
) # +1 is the offset as the original is from z[1:]

nu_end_idx = line_search_cuda(line_list_nu, nu_end, len(line_list_nu))
zend = time_explosion / C_INV * (1.0 - line_list_nu[pline] / nu)
escat_contrib += (
(zend - zstart)
* escat_op
Expand Down

0 comments on commit 2c44873

Please sign in to comment.