Closed amcastro-tri closed 1 month ago
BTW I just noticed a related typo during unrelated profiling, in case you want to toss it in here:
This code in sap_driver.cc
:
if (status != SapSolverStatus::kSuccess) {
const std::string msg = fmt::format(
"The SAP solver failed to converge at simulation time = {}. "
Some numbered list elements in the error text have newline (\n
) but some are missing, so the error will be smooshed.
We replace DRAKE_DEMANDs with exceptions, with a more informative error messasge to users.
This change is![Reviewable](https://reviewable.io/review_button.svg)