mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Prevent overflow on integer multiplication
This commit is contained in:
@ -435,8 +435,10 @@ bool Foam::checkCoupledPoints
|
||||
setPtr->insert(cpp.start()+i);
|
||||
}
|
||||
nErrorFaces++;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
avgMismatch += d;
|
||||
nCoupledPoints++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user