From 9f4be50e70726054a5f3a9e1153868ead694db23 Mon Sep 17 00:00:00 2001 From: Arnaud Becheler Date: Wed, 10 Nov 2021 23:55:59 -0500 Subject: [PATCH] ind based test shorter to run --- test/integration_test/model_2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration_test/model_2.cpp b/test/integration_test/model_2.cpp index 2e0afd0a..875b2d4f 100644 --- a/test/integration_test/model_2.cpp +++ b/test/integration_test/model_2.cpp @@ -50,8 +50,8 @@ int main(int argc, char* argv[]) demographic_policy::value_type N_0 = 100; // Number of generations unsigned int t_0 = 0; - unsigned int nb_generations = 30; - unsigned int sampling_time = 29; + unsigned int nb_generations = 10; + unsigned int sampling_time = 9; // Simulator initialization simulator_type simulator(x_0, N_0, nb_generations); // Ancestral wright-fisher population size @@ -108,7 +108,7 @@ int main(int argc, char* argv[]) ************************************************************/ std::cout << "6 ... Simulating sampling scheme" << std::endl; // Sampling size - unsigned int n = 50; + unsigned int n = 5; // Retrieve the non-empty demes at sampling time std::vector distribution_area = simulator.distribution_area(sampling_time); // Declare a functor to get the population size at sampling time