AllowRotation and size_t
This commit is contained in:
committed by
PaddleStroke
parent
fe99ad2593
commit
85557e1fa4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user