From fa874b73ff8bde0ceac9f4f29255d9d23fa79a1a Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 22 Jun 2023 13:27:56 -0400 Subject: clarify comment on single_step --- include/lib94/lib94.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/lib94/lib94.hpp b/include/lib94/lib94.hpp index 86732de..cfbb978 100644 --- a/include/lib94/lib94.hpp +++ b/include/lib94/lib94.hpp @@ -127,11 +127,11 @@ namespace lib94 { //does one step of the simulation. assumes that there is at least one warrior with at //least one alive process, so check alive_warrior_count first if you aren't sure. - //if the warrior whose turn it is dies during this step, the pointer to that warrior - //is returned. otherwise, a null pointer is returned. the update_address_sets template - //parameter controls whether to update the sets returned by get_written_addresses, - //get_read_addresses, and get_executed_addresses. this is provided so that you can - //improve the performance of the simulation if you do not need that information. + //if the warrior whose turn it is has only one process, and that process dies during + //this step, the pointer to that warrior is returned. otherwise, a null pointer is + //returned. the update_address_sets template parameter controls whether to update the + //sets returned by get_*_addresses. this is provided so that you can improve the + //performance of the simulation if you do not need that information. template const warrior *single_step(); -- cgit v1.2.3