From 096d5934a2d7909b72f9ee01660300fbc49ffc28 Mon Sep 17 00:00:00 2001 From: Sameer Agarwal Date: Mon, 20 May 2013 08:49:09 -0700 Subject: [PATCH] Comment cleanup from Jim Roseborough Change-Id: Id47101fe32e1449e660ec536934ee91fdaf452c7 --- examples/curve_fitting.c | 3 ++- internal/ceres/graph_algorithms.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/curve_fitting.c b/examples/curve_fitting.c index fb75d7d71..47b551e27 100644 --- a/examples/curve_fitting.c +++ b/examples/curve_fitting.c @@ -147,7 +147,8 @@ int main(int argc, char** argv) { ceres_init(argc, argv); /* Note: Typically it is better to compact m and c into one block, - * but in this case use separate blocks for illustration. */ + * but in this case use separate blocks to illustrate the use of + * multiple parameter blocks. */ double m = 0.0; double c = 0.0; double *parameter_pointers[] = { &m, &c }; diff --git a/internal/ceres/graph_algorithms.h b/internal/ceres/graph_algorithms.h index f38a13fdf..ca3a2fe1a 100644 --- a/internal/ceres/graph_algorithms.h +++ b/internal/ceres/graph_algorithms.h @@ -43,7 +43,8 @@ namespace ceres { namespace internal { -// Compare two vertices of a graph by their degrees. +// Compare two vertices of a graph by their degrees, if the degrees +// are equal then order them by their ids. template class VertexTotalOrdering { public: