Merge remote-tracking branch 'origin/feature/quadratic_programming' into feature/quadratic_programming
Conflicts: .cproject .gitignore gtsam/linear/GaussianFactorGraph.cpp gtsam/linear/GaussianFactorGraph.h gtsam/linear/HessianFactor.cpp gtsam/linear/JacobianFactor.h gtsam/linear/QPSolver.cpp gtsam/linear/tests/testQPSolver.cpp gtsam/nonlinear/NonlinearFactor.hrelease/4.3a0
commit
43a8de01c1
|
@ -152,6 +152,9 @@ JacobianFactor::JacobianFactor(const HessianFactor& factor) :
|
||||||
bool success;
|
bool success;
|
||||||
boost::tie(maxrank, success) = choleskyCareful(Ab_.matrix());
|
boost::tie(maxrank, success) = choleskyCareful(Ab_.matrix());
|
||||||
|
|
||||||
|
factor.print("HessianFactor to convert: ");
|
||||||
|
cout << "Maxrank: " << maxrank << ", success: " << int(success) << endl;
|
||||||
|
|
||||||
// Check for indefinite system
|
// Check for indefinite system
|
||||||
if (!success) {
|
if (!success) {
|
||||||
throw IndeterminantLinearSystemException(factor.keys().front());
|
throw IndeterminantLinearSystemException(factor.keys().front());
|
||||||
|
|
Loading…
Reference in New Issue