SquareMatrix: Add setSize and assignment to identity

This commit is contained in:
Henry Weller
2016-03-24 14:48:59 +00:00
parent 0ce3586094
commit 9bbf09573b
4 changed files with 34 additions and 3 deletions

View File

@ -44,7 +44,7 @@ void Foam::solve
label iMax = i;
scalar largestCoeff = mag(tmpMatrix[iMax][i]);
// Swap entries around to find a good pivot
// Swap elements around to find a good pivot
for (label j=i+1; j<m; j++)
{
if (mag(tmpMatrix(j, i)) > largestCoeff)