Pacified signed/unsigned warning

release/4.3a0
Alex Cunningham 2012-10-09 15:46:57 +00:00
parent 25870f5797
commit b05cd24a0b
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ namespace gtsam {
size_t nrToEliminate = nrMarginalized + nrFrontals;
sharedBayesNet bayesNet = eliminate(*permutation, function, nrToEliminate);
// Get rid of conditionals on variables that we want to marginalize out
for (int i = 0; i < nrMarginalized; i++)
for (size_t i = 0; i < nrMarginalized; i++)
bayesNet->pop_front();
return bayesNet;