Skip to content
Prev Previous commit
Next Next commit
fix regression test
  • Loading branch information
GuySten committed Sep 25, 2025
commit 51fffc5bc6cf8301fd9dda018bcc9c937aedd7c6
2 changes: 0 additions & 2 deletions src/distribution_multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ Direction PolarAzimuthal::sample(uint64_t* seed) const
double mu = mu_->sample(seed);
if (mu == 1.0)
return u_ref_;
if (mu == -1.0)
return -u_ref_;

// Sample azimuthal angle
double phi = phi_->sample(seed);
Expand Down
2 changes: 1 addition & 1 deletion tests/regression_tests/source/results_true.dat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
k-combined:
3.080655E-01 4.837707E-03
3.034717E-01 2.799386E-03
Loading