Skip to content

Commit e4bc787

Browse files
authored
Fix documentation of Print(rank) (#4740)
1 parent de2510c commit e4bc787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/Base/AMReX_Print.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ namespace amrex
4848
{ ss.precision(os.precision()); }
4949

5050
/**
51-
* \brief Print on all processors of the default communicator
52-
* Example: Print(Print::AllProcs) << " x = " << x << '\n';
51+
* \brief Print on given rank of the default communicator
52+
* Example: Print(2) << " x = " << x << '\n'; // Print on rank 2
5353
*/
5454
Print (int rank_, std::ostream& os_ = amrex::OutStream())
5555
: rank(rank_)

0 commit comments

Comments
 (0)