Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmeyer37 committed Jan 10, 2024
1 parent dd8fcb4 commit 32db30f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inst/include/epiworld/model-meat-print.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ inline const Model<TSeq> & Model<TSeq>::print(bool lite) const

if ((n_viruses_model > 10) && (i >= 10))
{
printf_epiworld(" ...and %li more viruses...\n", n_viruses_model - i);
printf_epiworld(" ...and %li more viruses...\n", static_cast<int>(n_viruses_model) - i);
break;
}

Expand Down Expand Up @@ -196,7 +196,7 @@ inline const Model<TSeq> & Model<TSeq>::print(bool lite) const

if ((n_tools_model > 10) && (i >= 10))
{
printf_epiworld(" ...and %li more tools...\n", n_tools_model - i);
printf_epiworld(" ...and %li more tools...\n", static_cast<int>(n_tools_model) - i);
break;
}

Expand Down
2 changes: 1 addition & 1 deletion inst/include/epiworld/tools-bones.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ inline void Tools<TSeq>::print() const noexcept
return;
}

printf_epiworld("List of tools (%i): ", *n_tools);
printf_epiworld("List of tools (%i): ", static_cast<int>(*n_tools));

// Printing the name of each virus separated by a comma
for (size_t i = 0u; i < *n_tools; ++i)
Expand Down
2 changes: 1 addition & 1 deletion inst/include/epiworld/viruses-bones.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ inline void Viruses<TSeq>::print() const noexcept
return;
}

printf_epiworld("List of viruses (%i): ", *n_viruses);
printf_epiworld("List of viruses (%i): ", static_cast<int>(*n_viruses));

// Printing the name of each virus separated by a comma
for (size_t i = 0u; i < *n_viruses; ++i)
Expand Down

0 comments on commit 32db30f

Please sign in to comment.