Skip to content

Commit

Permalink
Merge pull request #43 from rapidsai/branch-24.12
Browse files Browse the repository at this point in the history
Forward-merge branch-24.12 into branch-25.02
  • Loading branch information
GPUtester authored Nov 20, 2024
2 parents 0f398b1 + 8a6e223 commit 44ef08e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nx_cugraph/algorithms/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ def core_number(G):
node_ids, core_numbers = plc.core_number(
resource_handle=plc.ResourceHandle(),
graph=G._get_plc_graph(),
degree_type="bidirectional",
degree_type="outgoing",
do_expensive_check=False,
)
core_numbers = core_numbers // 2 # Added this in 24.12 (behavior changed)
return G._nodearrays_to_dict(node_ids, core_numbers)


Expand Down

0 comments on commit 44ef08e

Please sign in to comment.