Skip to content

Commit

Permalink
remove outdated code
Browse files Browse the repository at this point in the history
  • Loading branch information
jnke2016 committed Aug 30, 2024
1 parent 7b95c5e commit 19fc765
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cpp/src/sampling/neighbor_sampling_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,6 @@ neighbor_sample_impl(
raft::random::RngState& rng_state,
bool do_expensive_check)
{
#ifdef NO_CUGRAPH_OPS // FIXME: this is relevant only when edge_bias_view.has_value() is false,
// this ifdef statement will be removed once we migrate relevant cugraph-ops
// functions to cugraph
CUGRAPH_FAIL(
"neighbor_sample_impl not supported in this configuration, built with NO_CUGRAPH_OPS");
#else
static_assert(std::is_floating_point_v<bias_t>);

if (fan_out) {
CUGRAPH_EXPECTS((*fan_out).size() > 0,
Expand Down

0 comments on commit 19fc765

Please sign in to comment.