From 7aee1c1dcb5698e57dbec8784b764b6dcdc8e72d Mon Sep 17 00:00:00 2001 From: MFraters Date: Sat, 25 Jan 2020 10:22:56 -0800 Subject: [PATCH] Update source/particles/generators.cc Co-Authored-By: Daniel Arndt --- source/particles/generators.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/particles/generators.cc b/source/particles/generators.cc index d767559d3d..1ccc31fc71 100644 --- a/source/particles/generators.cc +++ b/source/particles/generators.cc @@ -311,9 +311,9 @@ namespace Particles // Calcualate number of local particles const types::particle_index end_particle_id = - llround(static_cast(n_particles_to_create) * - ((local_start_weight + local_weight_integral) / - global_weight_integral)); + std::llround(static_cast(n_particles_to_create) * + ((local_start_weight + local_weight_integral) / + global_weight_integral)); n_local_particles = end_particle_id - start_particle_id; if (random_cell_selection) -- 2.39.5