Fix compile bug on RHEL6 due to missing header Fixes compilation error: ‘lower_bound’ was not declared in this scope Change-Id: I00a32edbb3f7f52c1d09ca4c1ef5ec48692b7748
diff --git a/internal/ceres/compressed_col_sparse_matrix_utils.cc b/internal/ceres/compressed_col_sparse_matrix_utils.cc index ba76dad..b62a6ed 100644 --- a/internal/ceres/compressed_col_sparse_matrix_utils.cc +++ b/internal/ceres/compressed_col_sparse_matrix_utils.cc
@@ -31,6 +31,7 @@ #include "ceres/compressed_col_sparse_matrix_utils.h" #include <vector> +#include <algorithm> #include "ceres/internal/port.h" #include "glog/logging.h"