We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10f4d3 commit cb532c8Copy full SHA for cb532c8
1 file changed
intpolfact.c
@@ -1139,6 +1139,9 @@ static void ComputeCoeffBounds(void)
1139
// is a divisor of the original polynomial.
1140
int findEasyFactors(int nbrFactors)
1141
{
1142
+#ifdef __EMSCRIPTEN__
1143
+ int maxAttempts;
1144
+#endif
1145
int ctr1;
1146
int currentAttempts;
1147
int newNbrFactors;
@@ -1239,9 +1242,6 @@ static void vanHoeij(int prime, int numFactors)
1239
1242
int degreePolyToFactor = common.poly.polyNonRepeatedFactors[0];
1240
1243
int newNumberLength;
1241
1244
-#ifdef __EMSCRIPTEN__
- int maxAttempts;
-#endif
1245
double dExponDifference = 6.0 * (double)nbrFactors * LOG_2 / log((double)prime);
1246
exponDifference = (int)dExponDifference;
1247
numberLLL = 0;
0 commit comments