AllowRotation and size_t

This commit is contained in:
Aik-Siong Koh
2024-01-14 21:40:33 -07:00
committed by PaddleStroke
parent fe99ad2593
commit 85557e1fa4
285 changed files with 1854 additions and 1116 deletions

View File

@@ -21,7 +21,7 @@ FColDsptr GESpMat::solvewithsaveOriginal(SpMatDsptr spMat, FColDsptr fullCol, bo
FColDsptr GESpMat::basicSolvewithsaveOriginal(SpMatDsptr spMat, FColDsptr fullCol, bool saveOriginal)
{
this->preSolvewithsaveOriginal(spMat, fullCol, saveOriginal);
for (int p = 0; p < m; p++)
for (size_t p = 0; p < m; p++)
{
this->doPivoting(p);
this->forwardEliminateWithPivot(p);
@@ -47,7 +47,7 @@ void GESpMat::preSolvewithsaveOriginal(SpMatDsptr, FColDsptr, bool)
assert(false);
}
double GESpMat::getmatrixArowimaxMagnitude(int i)
double GESpMat::getmatrixArowimaxMagnitude(size_t i)
{
return matrixA->at(i)->maxMagnitude();
}