Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Dec 8, 2021
1 parent c1a62cb commit c8016b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/io/utilities/trie.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ trie create_serialized_trie(const std::vector<std::string>& keys, rmm::cuda_stre
*
* @return Boolean value; true if string is found, false otherwise
*/
CUDF_HDI bool serialized_trie_contains(device_span<serial_trie_node const> trie,
device_span<char const> key)
__host__ __device__ inline bool serialized_trie_contains(device_span<serial_trie_node const> trie,
device_span<char const> key)
{
if (trie.data() == nullptr || trie.empty()) return false;
if (key.empty()) return trie.front().is_leaf;
Expand Down

0 comments on commit c8016b1

Please sign in to comment.