...
 
Commits (2)
...@@ -1137,7 +1137,9 @@ protected: ...@@ -1137,7 +1137,9 @@ protected:
idxProcSend += 1; idxProcSend += 1;
} }
// Next time we will not need to go further than idxProcSend // Next time we will not need to go further than idxProcSend
righestProcToSendTo = idxProcSend; if(idxProcSend < righestProcToSendTo){
righestProcToSendTo = idxProcSend;
}
} }
// Finalize the communication // Finalize the communication
......
...@@ -1296,7 +1296,9 @@ protected: ...@@ -1296,7 +1296,9 @@ protected:
idxProcSend += 1; idxProcSend += 1;
} }
// Next time we will not need to go further than idxProcSend // Next time we will not need to go further than idxProcSend
righestProcToSendTo = idxProcSend; if(idxProcSend < righestProcToSendTo){
righestProcToSendTo = idxProcSend;
}
} }
// Finalize the communication // Finalize the communication
......