Skip to content

Commit

Permalink
Update cpp/include/cudf/lists/lists_column_view.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jake Hemstad <[email protected]>
  • Loading branch information
ttnghia and jrhemstad authored Mar 10, 2021
1 parent a68ca21 commit d95af41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/cudf/lists/lists_column_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class lists_column_view : private column_view {
*
* @return int32_t const* Pointer to one past the last offset
*/
offset_iterator offsets_end() const noexcept { return offsets_begin() + size() + 1; }
offset_iterator offsets_end() const noexcept { return offsets_begin() + offsets().size(); }
};
/** @} */ // end of group
} // namespace cudf

0 comments on commit d95af41

Please sign in to comment.