mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
SquareMatrix: Add setSize and assignment to identity
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user