hotfix: changed a <= b to !(a > b)

This commit is contained in:
2025-03-13 15:20:56 +01:00
parent d62c49a15d
commit 5bc545ac99
@@ -58,7 +58,7 @@ CompositeAngleDistribution::CompositeAngleDistribution(
double CompositeAngleDistribution::roll(std::mt19937* engine,
double energy_eV) {
if (energy_eV <= decider_energy_) {
if (!(energy_eV > decider_energy_)) {
return lower_distribution_->roll(engine, energy_eV);
} else {
return higher_distribution_->roll(engine, energy_eV);