Skip to content

Commit

Permalink
fixed typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Apr 19, 2019
1 parent ee1f025 commit ab837dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cugraph/graph/c_graph.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class Graph:
cudf.bindings.cudf_cpp.check_gdf_error(err)

offset_col_size = self.num_vertices() + 1
inex_col_size = g.transposedAdjList.indices.size
index_col_size = g.transposedAdjList.indices.size

cdef uintptr_t offset_col_data = <uintptr_t> g.transposedAdjList.offsets.data
cdef uintptr_t index_col_data = <uintptr_t> g.transposedAdjList.indices.data
Expand All @@ -366,7 +366,7 @@ class Graph:
dtype=np.int32) # ,
# finalizer=rmm._make_finalizer(offset_col_data, 0))
indices_data = rmm.device_array_from_ptr(index_col_data,
nelem=inex_col_size,
nelem=index_col_size,
dtype=np.int32) # ,
# finalizer=rmm._make_finalizer(index_col_data, 0))
# g.transposedAdjList.offsets.data and g.transposedAdjList.indices.data
Expand Down

0 comments on commit ab837dd

Please sign in to comment.