From 6a67df7ebc31f31f348e8a24c670046062ae791d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 15 Mar 2021 00:34:06 -0400 Subject: [PATCH] fix typo --- src/info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info.cpp b/src/info.cpp index e169e58cdc..27ed8c1c5b 100644 --- a/src/info.cpp +++ b/src/info.cpp @@ -1318,7 +1318,7 @@ std::string Info::get_compiler_info() std::string buf; #if __INTEL_LLVM_COMPILER double version = static_cast(__INTEL_LLVM_COMPILER)*0.01; - buf = fmt::format("Intel LLVM C++ {:.f} / {}", version, __VERSION__); + buf = fmt::format("Intel LLVM C++ {:.1f} / {}", version, __VERSION__); #elif __clang__ buf = fmt::format("Clang C++ {}", __VERSION__); #elif __PGI