We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0800c10 + c29e5a3 commit fc3559eCopy full SHA for fc3559e
2 files changed
docqueries/metrics/bandwidth.result
@@ -9,7 +9,7 @@ FROM edges'
9
);
10
bandwidth
11
-----------
12
- 13
+ 5
13
(1 row)
14
15
/* -- q2 */
@@ -54,7 +54,7 @@ SELECT * FROM pgr_bandwidth(
54
55
56
57
- 6
+ 8
58
59
60
/* -- q5 */
@@ -99,7 +99,7 @@ SELECT * FROM pgr_bandwidth(
99
100
101
102
103
104
105
/* -- q8 */
src/metrics/metrics_driver.cpp
@@ -70,7 +70,9 @@ do_metrics(
70
71
hint = "";
72
73
- pgrouting::UndirectedGraph undigraph;
+ auto vertices(pgrouting::extract_vertices(edges));
74
+ pgrouting::UndirectedGraph undigraph(vertices);
75
+
76
undigraph.insert_edges(edges);
77
78
uint64_t result = 0;
0 commit comments