Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmeyer37 committed Jan 9, 2024
1 parent 64b23cb commit dd8fcb4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions inst/include/epiworld/tool-meat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ inline void Tool<TSeq>::print() const

printf_epiworld("Tool : %s\n", tool_name->c_str());
printf_epiworld("Id : %s\n", (id < 0)? std::string("(empty)").c_str() : std::to_string(id).c_str());
printf_epiworld("state_init : %i\n", state_init);
printf_epiworld("state_post : %i\n", state_post);
printf_epiworld("queue_init : %i\n", queue_init);
printf_epiworld("queue_post : %i\n", queue_post);
printf_epiworld("state_init : %i\n", static_cast<int>(state_init));
printf_epiworld("state_post : %i\n", static_cast<int>(state_post));
printf_epiworld("queue_init : %i\n", static_cast<int>(queue_init));
printf_epiworld("queue_post : %i\n", static_cast<int>(queue_post));

}

Expand Down
12 changes: 6 additions & 6 deletions inst/include/epiworld/virus-meat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,12 +677,12 @@ inline void Virus<TSeq>::print() const

printf_epiworld("Virus : %s\n", virus_name->c_str());
printf_epiworld("Id : %s\n", (id < 0)? std::string("(empty)").c_str() : std::to_string(id).c_str());
printf_epiworld("state_init : %i\n", state_init);
printf_epiworld("state_post : %i\n", state_post);
printf_epiworld("state_removed : %i\n", state_removed);
printf_epiworld("queue_init : %i\n", queue_init);
printf_epiworld("queue_post : %i\n", queue_post);
printf_epiworld("queue_removed : %i\n", queue_removed);
printf_epiworld("state_init : %i\n", static_cast<int>(state_init));
printf_epiworld("state_post : %i\n", static_cast<int>(state_post));
printf_epiworld("state_removed : %i\n", static_cast<int>(state_removed));
printf_epiworld("queue_init : %i\n", static_cast<int>(queue_init));
printf_epiworld("queue_post : %i\n", static_cast<int>(queue_post));
printf_epiworld("queue_removed : %i\n", static_cast<int>(queue_removed));

}

Expand Down

5 comments on commit dd8fcb4

@gvegayon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @derekmeyer37, your fixes are OK. The thing is that the error persists because you need to fix another file :). Review the warnings.

@derekmeyer37
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gvegayon, I have edited all files mentioned in the warnings: tools-bones, tool-meat, virus-meat, model-meat-print, and viruses-bones and the same warnings still persist.

@gvegayon
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about agent-meat.hpp ?

@derekmeyer37
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I forgot to mention that one, but I did edit that file as well.

@gvegayon
Copy link
Member

@gvegayon gvegayon commented on dd8fcb4 Jan 10, 2024 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.