Lint cleanups from William Rucklidge

Change-Id: Ia4756ef97e65837d55838ee0b30806a234565bfd
This commit is contained in:
Sameer Agarwal
2013-08-16 17:02:56 -07:00
parent b22d063075
commit d61b68aaac
12 changed files with 59 additions and 33 deletions
@@ -80,7 +80,7 @@ void SolveUpperTriangularInPlace(IntegerType num_cols,
rhs_and_solution[r] -= v * rhs_and_solution[c];
}
}
};
}
// Solve the linear system
//
@@ -100,8 +100,8 @@ void SolveUpperTriangularTransposeInPlace(IntegerType num_cols,
rhs_and_solution[c] -= v * rhs_and_solution[r];
}
rhs_and_solution[c] = rhs_and_solution[c] / values[cols[c + 1] - 1];
};
};
}
}
// Given a upper triangular matrix R in compressed column form, solve
// the linear system,
@@ -131,10 +131,10 @@ void SolveRTRWithSparseRHS(IntegerType num_cols,
solution[c] -= v * solution[r];
}
solution[c] = solution[c] / values[cols[c + 1] - 1];
};
SolveUpperTriangularInPlace(num_cols, rows, cols, values, solution);
};
}
SolveUpperTriangularInPlace(num_cols, rows, cols, values, solution);
}
} // namespace internal
} // namespace ceres