Skip to content

Commit 7d1c3b2

Browse files
authored
Replace deprecated cupy.sparse with cupyx.scipy.sparse (#4381)
Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: #4381
1 parent 08e7c91 commit 7d1c3b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/cugraph/cugraph/tests/generators/test_rmat.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021-2023, NVIDIA CORPORATION.
1+
# Copyright (c) 2021-2024, NVIDIA CORPORATION.
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at
@@ -17,7 +17,7 @@
1717
import cudf
1818
import cugraph
1919
from cugraph.generators import rmat
20-
from cupy.sparse import coo_matrix, triu, tril
20+
from cupyx.scipy.sparse import coo_matrix, triu, tril
2121
import numpy as np
2222
import cupy as cp
2323

0 commit comments

Comments
 (0)