Commit 2d7058b8 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

LoadBalancerMpi: bug fix

parent eb98d989
......@@ -30,7 +30,7 @@ public:
SizeType taskNumber(SizeType threadNum, SizeType p) const
{
return p*blockSize_ + threadNum;
return p + threadNum*blockSize_;
}
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment