Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethassogba committed Apr 5, 2023
1 parent 2401bc0 commit 567e0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ std::cout << "Process " << rank << "/" << size << std::endl;
std::string msg;
if (world.rank() == world.root()) msg = "Hello";

bcast(msg);
world.bcast(msg);

std::cout << "P" << rank << " " << msg << std::endl;

Expand Down
2 changes: 1 addition & 1 deletion bin/broadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main(int argc, char *argv[])
if (world.rank() == world.root())
msg = "Hello";

bcast(msg);
world.bcast(msg);

std::cout << "P" << rank << " " << msg << std::endl;

Expand Down

0 comments on commit 567e0e0

Please sign in to comment.