Navigation Menu

Skip to content

Commit

Permalink
Fix regression in difodo eigvalues calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Nov 21, 2019
1 parent 4363012 commit 31e853f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/vision/src/CDifodo.cpp
Expand Up @@ -883,7 +883,7 @@ void CDifodo::filterLevelSolution()
CMatrixFloat66 Bii;
std::vector<float> eigenVals;

if (est_cov.eig_symmetric(Bii, eigenVals))
if (!est_cov.eig_symmetric(Bii, eigenVals))
{
std::cerr
<< "\n Eigensolver couldn't find a solution. Pose is not updated\n";
Expand Down

0 comments on commit 31e853f

Please sign in to comment.