Skip to content

Commit dc39543

Browse files
committed
removed c++17 constructs
1 parent 16c1eaf commit dc39543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perftest/spreadtestndall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ int main(int argc, char *argv[])
128128
std::vector<FLT> d_uniform(2 * Ng); // Re and Im
129129

130130
finufft_spread_opts opts;
131-
static constexpr auto max_digits = []() {
132-
if constexpr (std::is_same<FLT, double>::value) {
131+
const auto max_digits = []() {
132+
if (std::is_same<FLT, double>::value) {
133133
return 17;
134134
} else {
135135
return 9;

0 commit comments

Comments
 (0)