Skip to content

Commit d887e16

Browse files
author
Laxman Dhulipala
committed
update edge_type to neighbor_type
1 parent add4899 commit d887e16

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clusterers/gbbs_graph_io.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ template <class Graph>
4646
gbbs::symmetric_ptr_graph<gbbs::symmetric_vertex, float> CopyGraph(
4747
Graph& graph) {
4848
using vertex_data = gbbs::symmetric_vertex<float>;
49-
using edge_type = std::tuple<gbbs::uintE, float>;
49+
using neighbor_type = std::tuple<gbbs::uintE, float>;
5050
auto vd = gbbs::new_array_no_init<vertex_data>(graph.n);
51-
auto ed = gbbs::new_array_no_init<edge_type>(graph.m);
51+
auto ed = gbbs::new_array_no_init<neighbor_type>(graph.m);
5252
parlay::parallel_for(0, graph.n, [&](size_t i) {
5353
vd[i].degree = graph.v_data[i].degree;
5454
vd[i].neighbors = ed + graph.v_data[i].offset;
@@ -71,4 +71,4 @@ gbbs::symmetric_ptr_graph<gbbs::symmetric_vertex, float> CopyGraph(
7171

7272

7373
} // namespace in_memory
74-
} // namespace research_graph
74+
} // namespace research_graph

clusterers/scan_clusterer/IndexBased/intersect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ typename IntersectReturn<Weight>::type intersect_f_with_index_par(
218218
if
219219
constexpr(
220220
std::is_same<VertexTemplate<Weight>, symmetric_vertex<Weight>>::value) {
221-
using Neighbor = typename VertexTemplate<Weight>::edge_type;
221+
using Neighbor = typename VertexTemplate<Weight>::neighbor_type;
222222
const auto seqA{
223223
gbbs::make_slice<Neighbor>(A->neighbors, A->out_degree())};
224224
const auto seqB{

0 commit comments

Comments
 (0)