File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 31
31
VERSION : ${{ steps.version.outputs.VERSION_NAME }}
32
32
- name : Publish to github pages
33
33
if : ${{ github.event_name == 'push' }}
34
- uses : peaceiris/actions-gh-pages@v3
34
+ uses : peaceiris/actions-gh-pages@v4
35
35
with :
36
- deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
36
+ github_token : ${{ secrets.GITHUB_TOKEN }}
37
37
publish_dir : ./tools/generated
38
38
destination_dir : ${{ steps.version.outputs.VERSION_NAME }}
39
39
- name : Upload zip
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ void butterfly_inv(std::vector<mint>& a) {
130
130
auto r = a[i + offset + p];
131
131
a[i + offset] = l + r;
132
132
a[i + offset + p] =
133
- (unsigned long long )(mint::mod () + l.val () - r.val ()) *
133
+ (unsigned long long )(( unsigned int )( l.val () - r.val ()) + mint::mod ()) *
134
134
irot.val ();
135
135
;
136
136
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ struct static_modint : internal::static_modint_base {
48
48
_v = (unsigned int )(v % umod ());
49
49
}
50
50
51
- unsigned int val () const { return _v; }
51
+ int val () const { return _v; }
52
52
53
53
mint& operator ++() {
54
54
_v++;
@@ -165,7 +165,7 @@ template <int id> struct dynamic_modint : internal::modint_base {
165
165
_v = (unsigned int )(v % mod ());
166
166
}
167
167
168
- unsigned int val () const { return _v; }
168
+ int val () const { return _v; }
169
169
170
170
mint& operator ++() {
171
171
_v++;
You can’t perform that action at this time.
0 commit comments