Merge pull request #1746 from paulromano/wmp-performance-opt

Performance optimizations for windowed multipole
This commit is contained in:
Gavin Ridley 2021-01-20 12:59:30 -05:00 committed by GitHub
commit c262407af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 122 additions and 111 deletions

View file

@ -973,7 +973,7 @@ sample_cxs_target_velocity(double awr, double E, Direction u, double kT, uint64_
if (prn(seed) < alpha) {
// With probability alpha, we sample the distribution p(y) =
// y*e^(-y). This can be done with sampling scheme C45 frmo the Monte
// y*e^(-y). This can be done with sampling scheme C45 from the Monte
// Carlo sampler
beta_vt_sq = -std::log(r1*r2);