From 3ee2189a47372ab6f31785b19643f4339fa8ec9e Mon Sep 17 00:00:00 2001 From: Vaclav Petras Date: Fri, 1 Dec 2023 09:31:12 -0500 Subject: [PATCH] Use the complete competency table --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 3a2af56..3100eaa 100644 --- a/main.cpp +++ b/main.cpp @@ -1045,6 +1045,10 @@ int main(int argc, char* argv[]) : 0; } config.create_pest_host_table_from_parameters(1); + std::vector> competency_table_data; + competency_table_data.push_back({1, 1}); + competency_table_data.push_back({0, 0}); + config.read_competency_table(competency_table_data); if (opt.survival_rate_month->answer) config.survival_rate_month = std::stoi(opt.survival_rate_month->answer); @@ -1356,8 +1360,6 @@ int main(int argc, char* argv[]) suitable_cells)); models[run].environment().add_host(host_pools[run].get()); - competency_tables[run]->add_host_competencies({1}, 1); - std::vector tmp = {host_pools[run].get()}; multi_host_pools.emplace_back(tmp, config); multi_host_pools[run].set_pest_host_table(*pest_host_tables[run]);