MCPcopy Create free account
hub / github.com/ceres-solver/ceres-solver / SparseStatusToString

Function SparseStatusToString

internal/ceres/accelerate_sparse.cc:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54namespace {
55const char* SparseStatusToString(SparseStatus_t status) {
56 switch (status) {
57 CASESTR(SparseStatusOK);
58 CASESTR(SparseFactorizationFailed);
59 CASESTR(SparseMatrixIsSingular);
60 CASESTR(SparseInternalError);
61 CASESTR(SparseParameterError);
62 CASESTR(SparseStatusReleased);
63 default:
64 return "UNKNOWN";
65 }
66}
67} // namespace.
68
69// Resizes workspace as required to contain at least required_size bytes

Callers 2

FactorizeMethod · 0.85
SolveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected