Replace assert(false) with throw SimulationStoppingError(To be implemented.)

This commit is contained in:
Aik-Siong Koh
2025-09-09 16:39:39 -06:00
committed by Chris Hennes
parent bacb65f9c0
commit b9ba0976f2
65 changed files with 287 additions and 283 deletions

View File

@@ -19,18 +19,18 @@ FColDsptr LDUFullMat::basicSolvewithsaveOriginal(FMatDsptr fullMat, FColDsptr fu
FColDsptr LDUFullMat::basicSolvewithsaveOriginal(SpMatDsptr, FColDsptr, bool)
{
assert(false);
throw SimulationStoppingError("To be implemented.");
return FColDsptr();
}
void LDUFullMat::preSolvewithsaveOriginal(FMatDsptr, FColDsptr, bool)
{
assert(false);
throw SimulationStoppingError("To be implemented.");
}
void LDUFullMat::preSolvewithsaveOriginal(SpMatDsptr, FColDsptr, bool)
{
assert(false);
throw SimulationStoppingError("To be implemented.");
}
void LDUFullMat::forwardEliminateWithPivot(size_t p)
@@ -57,7 +57,7 @@ void LDUFullMat::forwardEliminateWithPivot(size_t p)
void LDUFullMat::postSolve()
{
assert(false);
throw SimulationStoppingError("To be implemented.");
}
void LDUFullMat::preSolvesaveOriginal(FMatDsptr fullMat, bool saveOriginal)
@@ -107,7 +107,7 @@ void LDUFullMat::decomposesaveOriginal(FMatDsptr fullMat, bool saveOriginal)
void LDUFullMat::decomposesaveOriginal(SpMatDsptr, bool)
{
assert(false);
throw SimulationStoppingError("To be implemented.");
}
FMatDsptr LDUFullMat::inversesaveOriginal(FMatDsptr fullMat, bool saveOriginal)