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 1, 2024
1 parent 2bc0d62 commit 305be12
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 @@ -340,7 +340,7 @@ auto thomson_angle() -> double {
}

// scattering a direction through angle theta.
[[nodiscard]] auto scatter_dir(const std::array<double, 3> dir_in, const double cos_theta) -> std::array<double, 3> {
[[nodiscard]] auto scatter_dir(const std::array<double, 3> &dir_in, const double cos_theta) -> std::array<double, 3> {
// begin with setting the direction in coordinates where original direction
// is parallel to z-hat.

Expand Down

0 comments on commit 305be12

Please sign in to comment.