modify code to suppress or fix warnings in gcc and clang (#41)

* first fix to start branch PR

* explicit conversion from sizet to int

* Array.h and DiagonalMatrix.h

* many sizet to int conversions

* removed some unused variables and added expl overrides

* removed many unused parameters

* more typing

* even more

* last of the easy changes
This commit is contained in:
John Dupuy
2023-12-08 11:00:00 -06:00
committed by GitHub
parent 8eb7d5d59c
commit 87ed8700e2
85 changed files with 349 additions and 320 deletions

View File

@@ -10,7 +10,7 @@
using namespace MbD;
FColDsptr MbD::MatrixDecomposition::forAndBackSubsaveOriginal(FColDsptr fullCol, bool saveOriginal)
FColDsptr MbD::MatrixDecomposition::forAndBackSubsaveOriginal(FColDsptr, bool)
{
assert(false);
return FColDsptr();
@@ -26,7 +26,7 @@ void MatrixDecomposition::applyRowOrderOnRightHandSideB()
rightHandSideB = answer;
}
FColDsptr MbD::MatrixDecomposition::basicSolvewithsaveOriginal(FMatDsptr aMatrix, FColDsptr aVector, bool saveOriginal)
FColDsptr MbD::MatrixDecomposition::basicSolvewithsaveOriginal(FMatDsptr, FColDsptr, bool)
{
assert(false);
return FColDsptr();
@@ -52,7 +52,7 @@ void MbD::MatrixDecomposition::postSolve()
assert(false);
}
void MbD::MatrixDecomposition::preSolvesaveOriginal(FMatDsptr aMatrix, bool saveOriginal)
void MbD::MatrixDecomposition::preSolvesaveOriginal(FMatDsptr, bool)
{
assert(false);
}