Skip to content

Commit

Permalink
change output type to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Aug 10, 2023
1 parent f7c15cd commit c2085fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit c2085fe

Please sign in to comment.