File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -88,29 +88,14 @@ do_ordering(
8888 std::vector<int64_t> results;
8989 pgrouting::UndirectedGraph undigraph;
9090 undigraph.insert_edges(edges);
91- #if 0
92- if (start_vid != 0 && !undigraph.has_vertex(start_vid)) {
93- err << "Start vertex" << start_vid << "not found in graph";
94- *err_msg = to_pg_msg(err);
95- *log_msg = to_pg_msg(log);
96- return;
97- }
9891
99- if (end_vid != 0 && !undigraph.has_vertex(end_vid)) {
100- err << "End vertex" << end_vid << "not found in graph";
101- *err_msg = to_pg_msg(err);
102- *log_msg = to_pg_msg(log);
103- return;
104- }
105- #endif
10692 std::vector<II_t_rt> results;
10793
10894 if (which == 0) {
10995 results = sloan(undigraph);
11096 }
11197
11298
113-
11499 auto count = results.size();
115100
116101 if (count == 0) {
You can’t perform that action at this time.
0 commit comments