Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bradley Dice <[email protected]>
  • Loading branch information
madsbk and bdice authored Oct 10, 2024
1 parent d25d163 commit e700db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pylibcudf/pylibcudf/contiguous_split.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ cpdef Table unpack_from_memoryviews(memoryview metadata, gpumemoryview gpu_data)
"""
if metadata.nbytes == 0:
if gpu_data.__cuda_array_interface__["data"][0] != 0:
raise ValueError("expect an empty gpu_data when unpackking an empty table")
raise ValueError("Expected an empty gpu_data from unpacking an empty table")
return Table.from_libcudf(make_unique[table](table_view()))

# Extract the raw data pointers
Expand Down

0 comments on commit e700db6

Please sign in to comment.