mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
data_fitting.cc should include gflags.
Also fix glog/gflag includes and sorting in examples. Change-Id: Ie07563b99cbb9172c941bb8f5fb7decb95fbb5d1
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
#include <cstdlib>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <glog/logging.h>
|
||||
#include "Eigen/Core"
|
||||
#include "ceres/random.h"
|
||||
#include "ceres/rotation.h"
|
||||
#include "Eigen/Core"
|
||||
#include "glog/logging.h"
|
||||
|
||||
namespace ceres {
|
||||
namespace examples {
|
||||
|
||||
@@ -58,12 +58,12 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <gflags/gflags.h>
|
||||
#include <glog/logging.h>
|
||||
#include "bal_problem.h"
|
||||
#include "snavely_reprojection_error.h"
|
||||
#include "ceres/ceres.h"
|
||||
#include "ceres/random.h"
|
||||
#include "gflags/gflags.h"
|
||||
#include "glog/logging.h"
|
||||
#include "snavely_reprojection_error.h"
|
||||
|
||||
DEFINE_string(input, "", "Input File name");
|
||||
DEFINE_bool(use_quaternions, false, "If true, uses quaternions to represent "
|
||||
|
||||
@@ -53,8 +53,9 @@
|
||||
#include <cstdio>
|
||||
#include <vector>
|
||||
|
||||
#include <gflags/gflags.h>
|
||||
#include "ceres/ceres.h"
|
||||
#include "gflags/gflags.h"
|
||||
#include "glog/logging.h"
|
||||
|
||||
using ceres::AutoDiffCostFunction;
|
||||
using ceres::CauchyLoss;
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
// Author: sameeragarwal@google.com (Sameer Agarwal)
|
||||
|
||||
#include "ceres/ceres.h"
|
||||
#include "gflags/gflags.h"
|
||||
|
||||
using ceres::AutoDiffCostFunction;
|
||||
using ceres::CostFunction;
|
||||
|
||||
Reference in New Issue
Block a user