fix sign-compare warning

release/4.3a0
acxz 2020-05-07 11:47:34 -04:00
parent b4eb0c233d
commit 89c6bd6af1
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ vector<Point3> defineMicrophones() {
/* ************************************************************************* */
// Create ground truth trajectory
vector<Event> createTrajectory(int n) {
vector<Event> createTrajectory(size_t n) {
vector<Event> trajectory;
double timeOfEvent = 10;
// 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
Values createInitialEstimate(int n) {
Values createInitialEstimate(size_t n) {
Values initial;
Event zero;