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

@@ -112,7 +112,7 @@ void Constraint::fillPosICError(FColDsptr col)
void Constraint::removeRedundantConstraints(std::shared_ptr<std::vector<size_t>>)
{
//My owner should handle this.
assert(false);
throw SimulationStoppingError("To be implemented.");
}
void MbD::Constraint::setConstant(double value)
@@ -123,7 +123,7 @@ void MbD::Constraint::setConstant(double value)
void Constraint::reactivateRedundantConstraints()
{
//My owner should handle this.
assert(false);
throw SimulationStoppingError("To be implemented.");
}
bool Constraint::isRedundant()