Skip to content

Commit

Permalink
Fix a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-jeon committed Aug 14, 2023
1 parent 518845e commit f305ab6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/dragonbox/dragonbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -1830,9 +1830,7 @@ namespace jkj::dragonbox {
struct get_cache_impl {
static JKJ_CONSTEXPR20 typename cache_holder<FloatFormat>::cache_entry_type
get_cache(int k) noexcept {
assert(k >= cache_holder<FloatFormat>::min_k &&
k <= cache_holder<FloatFormat>::max_k);
return get_cache_impl_binary64(k);
return full::get_cache<FloatFormat>(k);
}
};

Expand Down

0 comments on commit f305ab6

Please sign in to comment.