@@ -567,9 +567,6 @@ class communicator {
567
567
*/
568
568
bool is_identical (const communicator& rhs) const
569
569
{
570
- if (get () == nullptr || rhs.get () == nullptr ) {
571
- return get () == rhs.get ();
572
- }
573
570
if (get () == MPI_COMM_NULL || rhs.get () == MPI_COMM_NULL) {
574
571
return get () == rhs.get ();
575
572
}
@@ -592,9 +589,6 @@ class communicator {
592
589
*/
593
590
bool is_congruent (const communicator& rhs) const
594
591
{
595
- if (!get () || !rhs.get ()) {
596
- return get () == rhs.get ();
597
- }
598
592
if (get () == MPI_COMM_NULL || rhs.get () == MPI_COMM_NULL) {
599
593
return get () == rhs.get ();
600
594
}
@@ -725,7 +719,7 @@ class communicator {
725
719
* Broadcast data from calling process to all ranks in the communicator
726
720
*
727
721
* @param exec The executor, on which the message buffer is located.
728
- * @param buffer the buffer to broadcsat
722
+ * @param buffer the buffer to broadcast
729
723
* @param count the number of elements to broadcast
730
724
* @param root_rank the rank to broadcast from
731
725
*
@@ -748,7 +742,7 @@ class communicator {
748
742
* communicator
749
743
*
750
744
* @param exec The executor, on which the message buffer is located.
751
- * @param buffer the buffer to broadcsat
745
+ * @param buffer the buffer to broadcast
752
746
* @param count the number of elements to broadcast
753
747
* @param root_rank the rank to broadcast from
754
748
*
0 commit comments