FW-CADIS Disregard Max Realizations Setting (#3616)

This commit is contained in:
John Tramm 2025-10-28 03:22:37 -05:00 committed by GitHub
parent 70b5254662
commit 230db28d39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 11 deletions

View file

@ -400,11 +400,8 @@ void finalize_batch()
simulation::time_tallies.stop();
// update weight windows if needed
if (settings::solver_type != SolverType::RANDOM_RAY ||
simulation::current_batch == settings::n_batches) {
for (const auto& wwg : variance_reduction::weight_windows_generators) {
wwg->update();
}
for (const auto& wwg : variance_reduction::weight_windows_generators) {
wwg->update();
}
// Reset global tally results