Skip to content

Commit

Permalink
removed c++17 constructs
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamonDinoia committed Jun 4, 2024
1 parent 16c1eaf commit dc39543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perftest/spreadtestndall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ int main(int argc, char *argv[])
std::vector<FLT> d_uniform(2 * Ng); // Re and Im

finufft_spread_opts opts;
static constexpr auto max_digits = []() {
if constexpr (std::is_same<FLT, double>::value) {
const auto max_digits = []() {
if (std::is_same<FLT, double>::value) {
return 17;
} else {
return 9;
Expand Down

0 comments on commit dc39543

Please sign in to comment.