BUG: Prevent overflow on integer multiplication

This commit is contained in:
laurence
2013-04-11 20:07:26 +01:00
parent d8a91260c1
commit 21163c9591
2 changed files with 4 additions and 2 deletions

View File

@ -435,8 +435,10 @@ bool Foam::checkCoupledPoints
setPtr->insert(cpp.start()+i);
}
nErrorFaces++;
break;
}
avgMismatch += d;
nCoupledPoints++;