small format issues

release/4.3a0
thduynguyen 2014-11-27 08:55:22 -05:00
parent b5e8be56f3
commit f7c80830fb
1 changed files with 4 additions and 2 deletions

View File

@ -253,7 +253,8 @@ pair<int, int> QPSolver::findWorstViolatedActiveIneq(
return make_pair(worstFactorIx, worstSigmaIx); return make_pair(worstFactorIx, worstSigmaIx);
} }
/* ************************************************************************* */bool QPSolver::updateWorkingSetInplace( /* ************************************************************************* */
bool QPSolver::updateWorkingSetInplace(
GaussianFactorGraph& workingGraph, int factorIx, int sigmaIx, GaussianFactorGraph& workingGraph, int factorIx, int sigmaIx,
double newSigma) const { double newSigma) const {
if (factorIx < 0 || sigmaIx < 0) if (factorIx < 0 || sigmaIx < 0)
@ -337,7 +338,8 @@ boost::tuple<double, int, int> QPSolver::computeStepSize(
return boost::make_tuple(minAlpha, closestFactorIx, closestSigmaIx); return boost::make_tuple(minAlpha, closestFactorIx, closestSigmaIx);
} }
/* ************************************************************************* */bool QPSolver::iterateInPlace( /* ************************************************************************* */
bool QPSolver::iterateInPlace(
GaussianFactorGraph& workingGraph, VectorValues& currentSolution, GaussianFactorGraph& workingGraph, VectorValues& currentSolution,
VectorValues& lambdas) const { VectorValues& lambdas) const {
static bool debug = false; static bool debug = false;