From 6bbd434594d288cff695b832aa7da5b3e9b2ed65 Mon Sep 17 00:00:00 2001 From: Tifa <62847935+Tiphereth-A@users.noreply.github.com> Date: Wed, 5 Feb 2025 14:07:14 +0800 Subject: [PATCH] ci: clear more files --- .github/workflows/verify.yml | 1 + src/code/comb/fact_helper.hpp | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index e60b39694..79fb9ec6b 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -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 diff --git a/src/code/comb/fact_helper.hpp b/src/code/comb/fact_helper.hpp index 9395333d8..f6b9963ca 100644 --- a/src/code/comb/fact_helper.hpp +++ b/src/code/comb/fact_helper.hpp @@ -10,10 +10,9 @@ template struct fact_helper { static CEXP u32 DEFUALT_MAX = 10'000'001; static CEXP u64 mod() NE { return mint::mod(); } - static inline vec fact = gen_fact(DEFUALT_MAX), - ifact = gen_ifact(DEFUALT_MAX); + static inline vec 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(_); ifact = gen_ifact(_); }