Skip to content

Commit

Permalink
Fix MG Test Failing due to Removal of np.float (#3621)
Browse files Browse the repository at this point in the history
Updates a test that was using `np.float` to use `np.float64` instead to resolve a test failure.

Authors:
  - Alex Barghi (https://github.com/alexbarghi-nv)

Approvers:
  - Vibhu Jawa (https://github.com/VibhuJawa)
  - Brad Rees (https://github.com/BradReesWork)

URL: #3621
  • Loading branch information
alexbarghi-nv authored May 26, 2023
1 parent 451e4e6 commit 7ee384e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cugraph/cugraph/tests/internals/test_renumber_mg.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_mg_renumber_add_internal_vertex_id(graph_file, dask_client):
gdf["dst_old"] = destinations
gdf["src"] = sources + translate
gdf["dst"] = destinations + translate
gdf["weight"] = gdf.index.astype(np.float)
gdf["weight"] = gdf.index.astype(np.float64)

ddf = dask.dataframe.from_pandas(
gdf, npartitions=len(dask_client.scheduler_info()["workers"])
Expand Down

0 comments on commit 7ee384e

Please sign in to comment.