[BUGFIX] Fixed Failing Unit Test

release/4.3a0
ivan 2016-01-24 14:09:16 -05:00
parent 58de1ac296
commit bc3398a6a2
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ public:
if (Aterms.size() > 0) { if (Aterms.size() > 0) {
Vector b = zero(delta.at(key).size()); Vector b = zero(delta.at(key).size());
Factor::const_iterator it = lp_.cost.find(key); Factor::const_iterator it = lp_.cost.find(key);
if (it != lp_.cost.end()) b = lp_.cost.getA(it); if (it != lp_.cost.end()) b = lp_.cost.getA(it).transpose();
return boost::make_shared<JacobianFactor>(Aterms, b); // compute the least-square approximation of dual variables return boost::make_shared<JacobianFactor>(Aterms, b); // compute the least-square approximation of dual variables
} }
else { else {