Skip to content

Commit

Permalink
Fix typo in column_factories.hpp comment from 'depth 1' to 'depth 2' (r…
Browse files Browse the repository at this point in the history
…apidsai#16700)

This PR fixes a typo in the `cpp/include/cudf/column/column_factories.hpp` file. The comment incorrectly mentioned "data (depth 1)" instead of "data (depth 2)". This correction improves code clarity and documentation accuracy.

Authors:
  - Hirota Akio (https://github.com/a-hirota)

Approvers:
  - David Wendt (https://github.com/davidwendt)
  - Nghia Truong (https://github.com/ttnghia)

URL: rapidsai#16700
  • Loading branch information
a-hirota authored Sep 3, 2024
1 parent 25779d9 commit 0097b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/cudf/column/column_factories.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ std::unique_ptr<column> make_strings_column(size_type num_strings,
* offsets (depth 1) {0, 2, 5, 7}
* data (depth 1)
* offsets (depth 2)
* data (depth 1) {1, 2, 3, 4, 5, 6, 7}
* data (depth 2) {1, 2, 3, 4, 5, 6, 7}
* @endcode
*
* @param[in] num_rows The number of lists the column represents.
Expand Down

0 comments on commit 0097b45

Please sign in to comment.