Skip to content

Commit

Permalink
Fix array init for Clang 3.x series
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Oct 28, 2024
1 parent 7218d59 commit 8cdcb5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/github_issue_166_float128.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void more_rounding()
template <typename T>
void further_rounding()
{
const std::array<std::string, 8U> solutions {
const std::array<std::string, 8U> solutions = {{
"3331.5",
"3331.52",
"3331.520",
Expand All @@ -59,7 +59,7 @@ void further_rounding()
"3331.519894",
"3331.5198945",
"3331.51989448"
};
}};

constexpr T value = 3331.519894481067353L;

Expand Down

0 comments on commit 8cdcb5e

Please sign in to comment.