diff --git a/src/Utils.H b/src/Utils.H index 66d0e29..eb0a05d 100644 --- a/src/Utils.H +++ b/src/Utils.H @@ -75,7 +75,7 @@ struct TestParams int nborhood_size = 500; int workgroup_size = 20; - bool fast = true; /*!< Use the fast implementations for various operations, e.g. binning, at the cost of + bool fast = false; /*!< Use the fast implementations for various operations, e.g. binning, at the cost of exact reproducibility for a given random seed. */ }; diff --git a/src/main.cpp b/src/main.cpp index 0aa6248..9ff47b3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -188,6 +188,8 @@ void runAgent () mask_behavior.setVal(1); AgentContainer pc(geom, dm, ba, params.num_diseases, params.disease_names, params.fast, params.ic_type); + bool stable_redistribute = !params.fast; + pc.setStableRedistribute(stable_redistribute); { BL_PROFILE_REGION("Initialization");