mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed some warnings on VisualStudio2010
This commit is contained in:
@@ -95,7 +95,7 @@ void TreeOptimizer3::iterate(TreePoseGraph3::EdgeSet* eset, bool noPreconditione
|
||||
maxRotationalErrors.push_back(mre);
|
||||
int interval=3;
|
||||
if ((int)maxRotationalErrors.size()>=interval){
|
||||
uint s=maxRotationalErrors.size();
|
||||
uint s=(uint)maxRotationalErrors.size();
|
||||
double re0 = maxRotationalErrors[s-interval];
|
||||
double re1 = maxRotationalErrors[s-1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user