Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Fix test.

Kishore Nallan43b8c6c686e1
diff --git a/test/num_tree_test.cpp b/test/num_tree_test.cpp
index b34afb17..1a278ffc 100644
--- a/test/num_tree_test.cpp
+++ b/test/num_tree_test.cpp
@@ -13,7 +13,7 @@ TEST(NumTreeTest, Searches) {
tree.insert(-1200, 5);
tree.insert(100, 6);
- uint32_t* ids;
+ uint32_t* ids = nullptr;
size_t ids_len;
tree.search(NUM_COMPARATOR::EQUALS, -1750, &ids, ids_len);