Fixed warning

release/4.3a0
Frank Dellaert 2013-10-27 20:38:51 +00:00
parent df0d8bb63c
commit 8740e9d8fd
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ void HessianFactor::updateATA(const JacobianFactor& update, const Scatter& scatt
DenseIndex slot2 = (j2 == update.size()) ? this->info_.nBlocks()-1 : slots[j2];
for(DenseIndex j1=0; j1<=j2; ++j1) { // Vertical block of Hessian
DenseIndex slot1 = (j1 == update.size()) ? this->info_.nBlocks()-1 : slots[j1];
DenseIndex off0 = updateBlocks.offset(0);
updateBlocks.offset(0);
if(slot2 > slot1)
info_(slot1, slot2).noalias() += updateBlocks(j1).transpose() * updateBlocks(j2);
else if(slot1 > slot2)