We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2cd3f6 commit a4dca40Copy full SHA for a4dca40
test/unittest/utils/math_test.cpp
@@ -17,7 +17,6 @@ TEST(UtilsMathTest, FactorsTest) {
17
18
bool is_primitive_root_naive(int m, int g) {
19
assert(1 <= g && g < m);
20
- auto prs = factors(m - 1);
21
int x = 1;
22
for (int i = 1; i <= m - 2; i++) {
23
x = (int)((long long)(x)*g % m);
0 commit comments