From bf86054782a345a02357c38b8dbdd7110565f33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AC=8A=E5=B0=91?= Date: Fri, 17 May 2024 00:24:06 +0800 Subject: [PATCH] Try fix CI error. --- include/nlohmann/detail/conversions/to_chars.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/nlohmann/detail/conversions/to_chars.hpp b/include/nlohmann/detail/conversions/to_chars.hpp index e10741c92..06b66c0e4 100644 --- a/include/nlohmann/detail/conversions/to_chars.hpp +++ b/include/nlohmann/detail/conversions/to_chars.hpp @@ -250,7 +250,8 @@ boundaries compute_boundaries(FloatType value) // Determine w- = m- such that e_(w-) = e_(w+). const diyfp w_minus = diyfp::normalize_to(m_minus, w_plus.e); - return {diyfp::normalize(v), w_minus, w_plus}; + boundaries result {diyfp::normalize(v), w_minus, w_plus}; + return result; } // Given normalized diyfp w, Grisu needs to find a (normalized) cached