Skip to content

Commit 6b5b27c

Browse files
committed
corrected compiler error when using clang++-15
1 parent ad4f7ea commit 6b5b27c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ctaylor.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,11 +1402,11 @@ struct ctaylor
14021402
}
14031403
template<
14041404
std::size_t _MAX = MAX,
1405+
std::size_t PSIZE = SIZE,
14051406
typename std::enable_if<
14061407
(_MAX > 1),
14071408
int
1408-
>::type = 0,
1409-
std::size_t PSIZE
1409+
>::type = 0
14101410
>
14111411
friend auto tgamma(const ctaylor&_r, const double _d, const std::array<double, PSIZE>&_rPG)
14121412
{ static_assert(PSIZE >= _MAX, "PSIZE >= MAX");
@@ -1420,11 +1420,11 @@ struct ctaylor
14201420
}
14211421
template<
14221422
std::size_t _MAX = MAX,
1423+
std::size_t PSIZE = SIZE,
14231424
typename std::enable_if<
14241425
(_MAX == 1),
14251426
int
1426-
>::type = 0,
1427-
std::size_t PSIZE
1427+
>::type = 0
14281428
>
14291429
friend auto tgamma(const ctaylor&_r, const double _d, const std::array<double, PSIZE>&_rPG)
14301430
{ static_assert(PSIZE >= _MAX, "PSIZE >= MAX");

0 commit comments

Comments
 (0)