aboutsummaryrefslogtreecommitdiff
path: root/examples/nist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nist.cc')
-rw-r--r--examples/nist.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/nist.cc b/examples/nist.cc
index 1773a0f..b29b285 100644
--- a/examples/nist.cc
+++ b/examples/nist.cc
@@ -159,14 +159,6 @@ void SkipLines(std::ifstream& ifs, int num_lines) {
}
}
-bool IsSuccessfulTermination(ceres::SolverTerminationType status) {
- return
- (status == ceres::FUNCTION_TOLERANCE) ||
- (status == ceres::GRADIENT_TOLERANCE) ||
- (status == ceres::PARAMETER_TOLERANCE) ||
- (status == ceres::USER_SUCCESS);
-}
-
class NISTProblem {
public:
explicit NISTProblem(const std::string& filename) {