From ddf777fcadbee59c10f235538b15f22ba2cef676 Mon Sep 17 00:00:00 2001 From: Mann Patel <46739555+manncodes@users.noreply.github.com> Date: Sun, 6 Jun 2021 18:05:58 +0530 Subject: [PATCH] Update data_structures/sparse_table.cpp Co-authored-by: Ayaan Khan --- data_structures/sparse_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/sparse_table.cpp b/data_structures/sparse_table.cpp index 6733bc919..9502f6690 100644 --- a/data_structures/sparse_table.cpp +++ b/data_structures/sparse_table.cpp @@ -42,7 +42,7 @@ namespace sparse_table { * function, for the given array `A`. The answer to queries are stored in the * array ST. */ -const static uint32_t N = 12345; ///< the maximum size of the array. +constexpr uint32_t N = 12345; ///< the maximum size of the array. const static uint8_t M = 14; ///< ceil(log2(N)). struct Sparse_table {