Skip to content

Commit

Permalink
Update cpp/src/column/column_view.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: David Wendt <[email protected]>
  • Loading branch information
karthikeyann and davidwendt authored Sep 21, 2021
1 parent 9581525 commit 1a5f367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/column/column_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ constexpr auto hash(Ts&&... ts)

std::size_t shallow_hash_impl(column_view const& c, bool is_parent_empty = false)
{
std::size_t const init = (c.is_empty() or is_parent_empty)
std::size_t const init = (is_parent_empty or c.is_empty())
? hash(c.type(), 0)
: hash(c.type(), c.size(), c.head(), c.null_mask(), c.offset());
return std::accumulate(c.child_begin(),
Expand Down

0 comments on commit 1a5f367

Please sign in to comment.