Bug fixes and formatting

This commit is contained in:
2025-02-18 11:17:24 +01:00
parent 24b2c2f2ed
commit 9cd7db4e05
6 changed files with 48 additions and 31 deletions
+2 -3
View File
@@ -138,9 +138,8 @@ void Simulation::start() {
// calculate a 'stride' for the density events s.t. the same number of syncs
// would be performed
const int density_stride = std::ceil(static_cast<double>(
density_events * event_stride)/beta_decay_events);
const int density_stride = std::ceil(density_events *
(static_cast<double>(event_stride)/beta_decay_events));
// calculate the scaling factor for the particle weight for particles
// drawn from the density
const double density_weight_factor =