mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Formatting fixed based on Keir's comments and extended the tests
This commit is contained in:
@@ -50,9 +50,9 @@ class VertexDegreeLessThan {
|
||||
|
||||
bool operator()(const Vertex& lhs, const Vertex& rhs) const {
|
||||
if (graph_.Neighbors(lhs).size() == graph_.Neighbors(rhs).size()) {
|
||||
return (lhs < rhs);
|
||||
return lhs < rhs;
|
||||
}
|
||||
return (graph_.Neighbors(lhs).size() < graph_.Neighbors(rhs).size());
|
||||
return graph_.Neighbors(lhs).size() < graph_.Neighbors(rhs).size();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user