Skip to content

Commit 357a575

Browse files
wifi:)wifi:)
authored andcommitted
Fix style problem
1 parent 983149e commit 357a575

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/ordering/ordering.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ template <class G>
5454
std::vector<int64_t>
5555
kingOrdering(G &graph) {
5656
using V = typename G::V;
57-
using B_G= typename G::B_G;
57+
using B_G = typename G::B_G;
5858
using vertices_size_type = typename boost::graph_traits<B_G>::vertices_size_type;
5959

6060
size_t n = boost::num_vertices(graph.graph);
@@ -68,7 +68,6 @@ kingOrdering(G &graph) {
6868

6969
CHECK_FOR_INTERRUPTS();
7070
boost::king_ordering(graph.graph, inv_perm. rbegin(), color_map, degree_map, index_map);
71-
7271
size_t j = 0;
7372
for (auto i = inv_perm.begin(); i != inv_perm.end(); ++i, ++j) {
7473
results[j] = static_cast<int64_t>(index_map[*i]);

src/ordering/ordering_driver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ do_ordering(
8484
std::vector<int64_t> results;
8585
UndirectedGraph undigraph;
8686
undigraph.insert_edges(edges);
87-
8887
if (which == 0) {
8988
results = minDegreeOrdering(undigraph);
9089
} else if (which ==1) {

0 commit comments

Comments
 (0)