Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/libmv/third_party/ceres/internal/ceres/types.cc')
-rw-r--r--extern/libmv/third_party/ceres/internal/ceres/types.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/extern/libmv/third_party/ceres/internal/ceres/types.cc b/extern/libmv/third_party/ceres/internal/ceres/types.cc
index 5f3455fdd41..5a344ea43d7 100644
--- a/extern/libmv/third_party/ceres/internal/ceres/types.cc
+++ b/extern/libmv/third_party/ceres/internal/ceres/types.cc
@@ -297,16 +297,13 @@ bool StringToVisibilityClusteringType(
return false;
}
-const char* SolverTerminationTypeToString(SolverTerminationType type) {
+const char* TerminationTypeToString(TerminationType type) {
switch (type) {
+ CASESTR(CONVERGENCE);
CASESTR(NO_CONVERGENCE);
- CASESTR(FUNCTION_TOLERANCE);
- CASESTR(GRADIENT_TOLERANCE);
- CASESTR(PARAMETER_TOLERANCE);
- CASESTR(NUMERICAL_FAILURE);
- CASESTR(USER_ABORT);
+ CASESTR(FAILURE);
CASESTR(USER_SUCCESS);
- CASESTR(DID_NOT_RUN);
+ CASESTR(USER_FAILURE);
default:
return "UNKNOWN";
}