fix signed/unsigned warnings
parent
fcc49bd22a
commit
799beec7e2
|
|
@ -163,7 +163,7 @@ static SharedNoiseModel readNoiseModel(ifstream& is, bool smart,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
GraphAndValues load2D(const string& filename, SharedNoiseModel model, int maxID,
|
GraphAndValues load2D(const string& filename, SharedNoiseModel model, Key maxID,
|
||||||
bool addNoise, bool smart, NoiseFormat noiseFormat,
|
bool addNoise, bool smart, NoiseFormat noiseFormat,
|
||||||
KernelFunctionType kernelFunctionType) {
|
KernelFunctionType kernelFunctionType) {
|
||||||
|
|
||||||
|
|
@ -211,7 +211,7 @@ GraphAndValues load2D(const string& filename, SharedNoiseModel model, int maxID,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse the pose constraints
|
// Parse the pose constraints
|
||||||
int id1, id2;
|
Key id1, id2;
|
||||||
bool haveLandmark = false;
|
bool haveLandmark = false;
|
||||||
while (!is.eof()) {
|
while (!is.eof()) {
|
||||||
if (!(is >> tag))
|
if (!(is >> tag))
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ GTSAM_EXPORT GraphAndValues load2D(
|
||||||
* @return graph and initial values
|
* @return graph and initial values
|
||||||
*/
|
*/
|
||||||
GTSAM_EXPORT GraphAndValues load2D(const std::string& filename,
|
GTSAM_EXPORT GraphAndValues load2D(const std::string& filename,
|
||||||
SharedNoiseModel model = SharedNoiseModel(), int maxID = 0, bool addNoise =
|
SharedNoiseModel model = SharedNoiseModel(), Key maxID = 0, bool addNoise =
|
||||||
false, bool smart = true, NoiseFormat noiseFormat = NoiseFormatGRAPH, //
|
false, bool smart = true, NoiseFormat noiseFormat = NoiseFormatGRAPH, //
|
||||||
KernelFunctionType kernelFunctionType = KernelFunctionTypeNONE);
|
KernelFunctionType kernelFunctionType = KernelFunctionTypeNONE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue