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

@@ -13,7 +13,7 @@
using namespace MbD;
void GEFullMatParPv::doPivoting(int p)
void GEFullMatParPv::doPivoting(size_t p)
{
//"Use scalings. Do row pivoting."
@@ -22,7 +22,7 @@ void GEFullMatParPv::doPivoting(int p)
double max = app * rowScalings->at(p);
if (max < 0.0) max = -max;
auto rowPivot = p;
for (int i = p + 1; i < m; i++)
for (size_t i = p + 1; i < m; i++)
{
auto aip = matrixA->at(i)->at(p);
if (aip != 0.0) {