Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW] BUG Remove deprecated call to from_gpu_matrix #1198

Merged
merged 2 commits into from
Oct 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
- PR #1186 BLD Installing raft headers under cugraph
- PR #1192 Fix benchmark notes and documentation issues in graph.py
- PR #1196 Move subcomms init outside of individual algorithm functions
- PR #1198 Remove deprecated call to from_gpu_matrix

# cuGraph 0.15.0 (26 Aug 2020)

Expand Down
4 changes: 2 additions & 2 deletions python/cugraph/layout/force_atlas2_wrapper.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def force_atlas2(input_graph,
<bool> verbose,
<GraphBasedDimRedCallback*>callback_ptr)

pos_df = cudf.DataFrame.from_gpu_matrix(pos, columns=['x', 'y'])
pos_df = cudf.DataFrame(pos, columns=['x', 'y'])
df['x'] = pos_df['x']
df['y'] = pos_df['y']
else:
Expand Down Expand Up @@ -159,7 +159,7 @@ def force_atlas2(input_graph,
<bool> verbose,
<GraphBasedDimRedCallback*>callback_ptr)

pos_df = cudf.DataFrame.from_gpu_matrix(pos, columns=['x', 'y'])
pos_df = cudf.DataFrame(pos, columns=['x', 'y'])
df['x'] = pos_df['x']
df['y'] = pos_df['y']

Expand Down