From c2085fe7643ffab560761a5378cd109ec1577f15 Mon Sep 17 00:00:00 2001 From: Anna Petrasova Date: Thu, 10 Aug 2023 10:34:44 -0400 Subject: [PATCH] change output type to integer --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 6b9bbe5..55ce06c 100644 --- a/main.cpp +++ b/main.cpp @@ -1627,7 +1627,7 @@ int main(int argc, char* argv[]) G_close_option_file(fp); } if (opt.dispersers_output->answer) { - DImg dispersers_rasts_sum(I_species_rast.rows(), I_species_rast.cols(), 0); + Img dispersers_rasts_sum(I_species_rast.rows(), I_species_rast.cols(), 0); for (unsigned i = 0; i < num_runs; i++) dispersers_rasts_sum += dispersers_rasts[i]; if (opt.dispersers_output->answer) { @@ -1640,7 +1640,7 @@ int main(int argc, char* argv[]) } } if (opt.established_dispersers_output->answer) { - DImg established_dispersers_rasts_sum(I_species_rast.rows(), I_species_rast.cols(), 0); + Img established_dispersers_rasts_sum(I_species_rast.rows(), I_species_rast.cols(), 0); for (unsigned i = 0; i < num_runs; i++) established_dispersers_rasts_sum += established_dispersers_rasts[i]; if (opt.established_dispersers_output->answer) {