This commit is contained in:
Axel Kohlmeyer
2021-03-15 00:34:06 -04:00
parent 88c6e5cb31
commit 6a67df7ebc

View File

@ -1318,7 +1318,7 @@ std::string Info::get_compiler_info()
std::string buf;
#if __INTEL_LLVM_COMPILER
double version = static_cast<double>(__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