data_fitting.cc should include gflags.

Also fix glog/gflag includes and sorting in examples.

Change-Id: Ie07563b99cbb9172c941bb8f5fb7decb95fbb5d1
This commit is contained in:
Sameer Agarwal
2012-08-13 14:38:41 -07:00
parent f18cc4a0d0
commit 4b0404352d
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -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 {
+3 -3
View File
@@ -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 "
+2 -1
View File
@@ -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;
+1
View File
@@ -29,6 +29,7 @@
// Author: sameeragarwal@google.com (Sameer Agarwal)
#include "ceres/ceres.h"
#include "gflags/gflags.h"
using ceres::AutoDiffCostFunction;
using ceres::CostFunction;