clang-format and clang-tidy fixes for 2ad2f721

This commit is contained in:
github-actions
2020-11-14 05:54:48 +00:00
parent 2ad2f7216d
commit f8c9934255

View File

@@ -28,8 +28,8 @@ namespace ncr_modulo_p {
*/
class NCRModuloP {
private:
std::vector<uint64_t> fac{}; // stores precomputed factorial(i) % p value
uint64_t p = 0; // the p from (nCr % p)
std::vector<uint64_t> fac{}; // stores precomputed factorial(i) % p value
uint64_t p = 0; // the p from (nCr % p)
public:
/** Constructor which precomputes the values of n! % mod from n=0 to size