Fixed warning
parent
5c8fe7ba4a
commit
609019b585
|
@ -15,6 +15,7 @@
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -224,7 +225,7 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
smartFactors[landmark]->add(StereoPoint2(xl, xr, y), X(frame), K);
|
smartFactors[landmark]->add(StereoPoint2(xl, xr, y), X(frame), K);
|
||||||
} else {
|
} else {
|
||||||
throw runtime_error("unexpected data type: " + type);
|
throw runtime_error("unexpected data type: " + string(1, type));
|
||||||
}
|
}
|
||||||
|
|
||||||
lastFrame = frame;
|
lastFrame = frame;
|
||||||
|
|
Loading…
Reference in New Issue