Minor optimizations for WindowedMultipole

This commit is contained in:
Paul Romano 2019-04-26 11:04:59 -05:00
parent c704ae5ac1
commit 425de8943f
4 changed files with 16 additions and 14 deletions

View file

@ -972,7 +972,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);