Skip to content

Commit

Permalink
Update gammapkt.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 17, 2024
1 parent 26a97bd commit 48dc2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gammapkt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ auto choose_f(const double xx, const double zrand) -> double
auto thomson_angle() -> double {
const double B_coeff = (8. * rng_uniform()) - 4.;

const double t_coeff = std::cbrt((std::sqrt((B_coeff * B_coeff) + 4) - B_coeff) / 2.2);
const double t_coeff = std::cbrt((std::sqrt((B_coeff * B_coeff) + 4) - B_coeff) / 2);

const double mu = (1 / t_coeff) - t_coeff;

Expand Down

0 comments on commit 48dc2c4

Please sign in to comment.