From 3ea395615a891b1f56156e4eb97e65956331343c Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 4 Nov 2020 10:54:20 -0500 Subject: [PATCH] update fmtlib version 7.1.1 to 7.1.2 --- src/fmt/core.h | 2 +- src/fmt/format-inl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fmt/core.h b/src/fmt/core.h index 9bd2003b28..b4fc461011 100644 --- a/src/fmt/core.h +++ b/src/fmt/core.h @@ -18,7 +18,7 @@ #include // The fmt library version in the form major * 10000 + minor * 100 + patch. -#define FMT_VERSION 70101 +#define FMT_VERSION 70102 #ifdef __clang__ # define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) diff --git a/src/fmt/format-inl.h b/src/fmt/format-inl.h index 5d466eebbc..8f2fe7354a 100644 --- a/src/fmt/format-inl.h +++ b/src/fmt/format-inl.h @@ -2337,7 +2337,7 @@ void fallback_format(Double d, int num_digits, bool binary32, buffer& buf, upper = &upper_store; } denominator.assign_pow10(exp10); - denominator <<= 1; + denominator <<= shift; } else if (exp10 < 0) { numerator.assign_pow10(-exp10); lower.assign(numerator);