fix sign-compare warning
parent
b4eb0c233d
commit
89c6bd6af1
|
@ -53,7 +53,7 @@ vector<Point3> defineMicrophones() {
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
// Create ground truth trajectory
|
// Create ground truth trajectory
|
||||||
vector<Event> createTrajectory(int n) {
|
vector<Event> createTrajectory(size_t n) {
|
||||||
vector<Event> trajectory;
|
vector<Event> trajectory;
|
||||||
double timeOfEvent = 10;
|
double timeOfEvent = 10;
|
||||||
// simulate emitting a sound every second while moving on straight line
|
// simulate emitting a sound every second while moving on straight line
|
||||||
|
@ -110,7 +110,7 @@ NonlinearFactorGraph createGraph(const vector<Point3>& microphones,
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
// create initial estimate for n events
|
// create initial estimate for n events
|
||||||
Values createInitialEstimate(int n) {
|
Values createInitialEstimate(size_t n) {
|
||||||
Values initial;
|
Values initial;
|
||||||
|
|
||||||
Event zero;
|
Event zero;
|
||||||
|
|
Loading…
Reference in New Issue