Fix compilation error after recent enum rename in 33e01b9
Change-Id: I920aa4754df6b013e86f0e77c61338d7a80e7f45
diff --git a/internal/ceres/trust_region_minimizer.cc b/internal/ceres/trust_region_minimizer.cc
index 6094408..a613a65 100644
--- a/internal/ceres/trust_region_minimizer.cc
+++ b/internal/ceres/trust_region_minimizer.cc
@@ -245,7 +245,7 @@
iteration_summary.step_is_valid = false;
iteration_summary.step_is_successful = false;
- if (strategy_summary.termination_type == FATAL_ERROR) {
+ if (strategy_summary.termination_type == LINEAR_SOLVER_FATAL_ERROR) {
summary->error =
"Terminating. Linear solver failed due to unrecoverable "
"non-numeric causes. Please see the error log for clues. ";