Skip to content

Commit

Permalink
Add relativistic initialization of blackbody in formal integral
Browse files Browse the repository at this point in the history
  • Loading branch information
chvogl committed Aug 9, 2018
1 parent 779509a commit b303c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/montecarlo/src/integrator.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ _formal_integral(

// initialize I_nu
if (p <= R_ph)
I_nu[p_idx] = intensity_black_body(nu, iT);
I_nu[p_idx] = intensity_black_body(nu * z[0], iT);
else
I_nu[p_idx] = 0;

Expand Down

0 comments on commit b303c67

Please sign in to comment.