Skip to content

Commit

Permalink
Change wording of comment.
Browse files Browse the repository at this point in the history
Co-authored-by: Demian Hespe <[email protected]>
  • Loading branch information
lukashuebner and Hespian authored Jun 22, 2022
1 parent fe03aab commit 0c4c876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/kamping/collectives/bcast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ auto kamping::Communicator::bcast(Args... args) const {
constexpr bool recv_count_is_output_parameter = has_to_be_computed<decltype(recv_count_param)>;
KASSERT(
is_same_on_all_ranks(recv_count_is_output_parameter),
"recv_count() parameter is an output parameter on some PEs, but not on alle PEs.", assert::light_communication);
"recv_count() parameter is an output parameter on some ranks, but not on all ranks.", assert::light_communication);

// If it is not user provided, broadcast the size of send_recv_buf from the root to all ranks.
int recv_count = recv_count_param.get_single_element();
Expand Down

0 comments on commit 0c4c876

Please sign in to comment.