From f305ab6fbb476bfade2b603f19ef56a24b88a0b2 Mon Sep 17 00:00:00 2001 From: Junekey Jeon Date: Mon, 14 Aug 2023 16:04:40 -0700 Subject: [PATCH] Fix a mistake --- include/dragonbox/dragonbox.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/dragonbox/dragonbox.h b/include/dragonbox/dragonbox.h index 23919a9..c0c8f7f 100644 --- a/include/dragonbox/dragonbox.h +++ b/include/dragonbox/dragonbox.h @@ -1830,9 +1830,7 @@ namespace jkj::dragonbox { struct get_cache_impl { static JKJ_CONSTEXPR20 typename cache_holder::cache_entry_type get_cache(int k) noexcept { - assert(k >= cache_holder::min_k && - k <= cache_holder::max_k); - return get_cache_impl_binary64(k); + return full::get_cache(k); } };