From befc191d2d40879540e3824722743303a671774c Mon Sep 17 00:00:00 2001 From: Lajat5 <64376519+Lazeeez@users.noreply.github.com> Date: Sun, 19 Dec 2021 14:29:38 +0530 Subject: [PATCH] Update search/interpolation_search.cpp Co-authored-by: David Leal --- search/interpolation_search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/interpolation_search.cpp b/search/interpolation_search.cpp index 2096c99ad..1a75fe5f8 100644 --- a/search/interpolation_search.cpp +++ b/search/interpolation_search.cpp @@ -95,7 +95,7 @@ uint64_t interpolationSearch(const std::vector &arr, * @brief Self-test implementation * @returns void *******************************************************************************/ -void tests() { +static void tests() { // testcase // array = [10, 12, 13, 16, 18, 19, 20, 21, 1, 2, 3, 4, 22, 23, 24, 33, 35, // 42, 47] , Value = 33 should return 15