Skip to content

Commit

Permalink
update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Nov 27, 2024
1 parent f8c576a commit 9648d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/sampling/neighbor_sampling_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ neighbor_sample_impl(raft::handle_t const& handle,
rmm::device_uvector<vertex_t> level_result_src(0, handle.get_stream());
rmm::device_uvector<vertex_t> level_result_dst(0, handle.get_stream());

// Get the number of hop. If homogeneous neighbor sample, num_edge_types = 1
// Get the number of hop. If homogeneous neighbor sample, num_edge_types = 1.
auto num_hops = ((fan_out.size() % num_edge_types) == 0)
? (fan_out.size() / num_edge_types)
: ((fan_out.size() / num_edge_types) + 1);
Expand Down

0 comments on commit 9648d69

Please sign in to comment.