refactoring

This commit is contained in:
Christian Forster
2014-05-09 15:06:03 +02:00
parent 734a5c007b
commit 713f35697b
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ void optimizeGaussNewton(
chi2_vec_final.push_back(e.squaredNorm());
if(e.norm() > reproj_thresh_scaled)
{
// (*it)->point->deleteFrameRef(frame);
// we don't need to delete a reference in the point since it was not created yet
(*it)->point = NULL;
++n_deleted_refs;
}