auto max = 0 to double max = 0.0

This commit is contained in:
Aik-Siong Koh
2023-10-17 07:55:59 -06:00
parent 0b07ff126a
commit 8c383a1003
26 changed files with 67 additions and 67 deletions

View File

@@ -64,7 +64,7 @@ void MatrixSolver::findScalingsForRowRange(int begin, int end)
rowScalings = std::make_shared<FullColumn<double>>(m);
for (int i = begin; i < end; i++)
{
auto maxRowMagnitude = this->getmatrixArowimaxMagnitude(i);
double maxRowMagnitude = this->getmatrixArowimaxMagnitude(i);
if (maxRowMagnitude == 0.0) throwSingularMatrixError("");
rowScalings->at(i) = 1.0 / maxRowMagnitude;
}