Skip to content

Commit 0854309

Browse files
committed
fix: CE on luogu.
1 parent a46b9f2 commit 0854309

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/alfred/math/mod-int.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ class ModInt {
1919
}
2020
value_type v;
2121
constexpr ModInt(void) noexcept : v(0) {}
22-
template <class T, is_signed_int_t<T> * = nullptr>
22+
template <class T, is_signed_int_t<T> *_ = nullptr>
2323
constexpr ModInt(T _v) {
2424
int64_t x = (int64_t)(_v % (int64_t)(mod()));
2525
if (x < 0) x += mod();
2626
v = (uint32_t)(x);
2727
}
28-
template <class T, is_unsigned_int_t<T> * = nullptr>
28+
template <class T, is_unsigned_int_t<T> *_ = nullptr>
2929
constexpr ModInt(T _v) { v = (uint32_t)(_v % mod()); }
3030
constexpr value_type val() const noexcept { return v; }
3131
constexpr ModInt operator+() const noexcept { return *this; }

0 commit comments

Comments
 (0)