Skip to content

Commit

Permalink
ci: clear more files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiphereth-A committed Feb 5, 2025
1 parent 7e4b903 commit 6bbd434
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
- name: Clean up
if: ${{ matrix.type == 'huge' }}
run: |
rm -rf fonts img src/cheatsheet src/data src/doc_tex src/meta_test src/meta_test_huge src/src src/test_tinplate
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
Expand Down
5 changes: 2 additions & 3 deletions src/code/comb/fact_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ template <class mint>
struct fact_helper {
static CEXP u32 DEFUALT_MAX = 10'000'001;
static CEXP u64 mod() NE { return mint::mod(); }
static inline vec<mint> fact = gen_fact<mint>(DEFUALT_MAX),
ifact = gen_ifact<mint>(DEFUALT_MAX);
static inline vec<mint> fact, ifact;
CEXPE fact_helper(u32 n = 0) NE {
if (u32 _ = std::min((u32)mod(), n); _ > fact.size()) [[unlikely]] {
if (u32 _ = std::min((u32)mod(), n); _ > fact.size()) {
fact = gen_fact<mint>(_);
ifact = gen_ifact<mint>(_);
}
Expand Down

0 comments on commit 6bbd434

Please sign in to comment.