...
 
Commits (2)
...@@ -1137,8 +1137,10 @@ protected: ...@@ -1137,8 +1137,10 @@ 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
if(idxProcSend < righestProcToSendTo){
righestProcToSendTo = idxProcSend; righestProcToSendTo = idxProcSend;
} }
}
// Finalize the communication // Finalize the communication
if(iterRequestsSize){ if(iterRequestsSize){
......
...@@ -1296,8 +1296,10 @@ protected: ...@@ -1296,8 +1296,10 @@ 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
if(idxProcSend < righestProcToSendTo){
righestProcToSendTo = idxProcSend; righestProcToSendTo = idxProcSend;
} }
}
// Finalize the communication // Finalize the communication
if(iterRequestsSize){ if(iterRequestsSize){
......