From 350508f31614d2459f46521b1867da3f4e9ba81e Mon Sep 17 00:00:00 2001 From: Kaustubh Damania Date: Mon, 16 Nov 2020 01:31:14 +0530 Subject: [PATCH] Update math/ncr_modulo_p.cpp Co-authored-by: David Leal --- math/ncr_modulo_p.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math/ncr_modulo_p.cpp b/math/ncr_modulo_p.cpp index 1f3671b5b..c12fe54c0 100644 --- a/math/ncr_modulo_p.cpp +++ b/math/ncr_modulo_p.cpp @@ -28,8 +28,8 @@ namespace ncr_modulo_p { */ class NCRModuloP { private: - std::vector fac{}; // stores precomputed factorial(i) % p value - uint64_t p = 0; // the p from (nCr % p) + std::vector 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