Skip to content

Commit be6d828

Browse files
vil02Panquesito7
andauthored
Apply suggestions from code review
Co-authored-by: David Leal <[email protected]>
1 parent 9372b1e commit be6d828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

math/ncr_modulo_p.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int64_t modInverse(const int64_t& a, const int64_t& m) {
7272
return ((x + m) % m);
7373
}
7474
}
75-
}; // namespace utils
75+
} // namespace utils
7676
/**
7777
* @brief Class which contains all methods required for calculating nCr mod p
7878
*/
@@ -136,7 +136,7 @@ class NCRModuloP {
136136
} // namespace ncr_modulo_p
137137
} // namespace math
138138

139-
void tests() {
139+
static void tests() {
140140
struct TestCase {
141141
const int64_t size;
142142
const int64_t p;

0 commit comments

Comments
 (0)