Skip to content

Commit c7b56e2

Browse files
committed
chg: typo/editing
1 parent 8e452c9 commit c7b56e2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

factory/facFqFactorize.cc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,13 +1768,15 @@ evaluationWRTDifferentSecondVars (CFList*& Aeval, const CFList& evaluation,
17681768
CanonicalForm tmp;
17691769
CFList tmp2;
17701770
CFListIterator iter;
1771+
bool preserveDegree= true;
1772+
int j;
17711773
for (int i= A.level(); i > 2; i--)
17721774
{
17731775
tmp= A;
17741776
tmp2= CFList();
17751777
iter= evaluation;
1776-
bool preserveDegree= true;
1777-
for (int j= A.level(); j > 1; j--, iter++)
1778+
preserveDegree= true;
1779+
for (j= A.level(); j > 1; j--, iter++)
17781780
{
17791781
if (j == i)
17801782
continue;
@@ -2525,7 +2527,7 @@ multiFactorize (const CanonicalForm& F, const ExtensionInfo& info)
25252527

25262528
int minFactorsLength;
25272529
bool irred= false;
2528-
factorizationWRTDifferentSecondVars (A, Aeval2, info, minFactorsLength, irred);
2530+
factorizationWRTDifferentSecondVars (A, Aeval2, info, minFactorsLength,irred);
25292531

25302532
if (irred)
25312533
{
@@ -2561,7 +2563,8 @@ multiFactorize (const CanonicalForm& F, const ExtensionInfo& info)
25612563
}
25622564
if (!zeroOccured)
25632565
{
2564-
factors= sparseHeuristic (A, biFactors, Aeval2, evaluation, minFactorsLength);
2566+
factors= sparseHeuristic (A, biFactors, Aeval2, evaluation,
2567+
minFactorsLength);
25652568
if (factors.length() == biFactors.length())
25662569
{
25672570
if (extension)
@@ -2791,7 +2794,8 @@ multiFactorize (const CanonicalForm& F, const ExtensionInfo& info)
27912794
i++;
27922795

27932796
for (; i.hasItem(); i++)
2794-
lift= tmax (lift, degree (i.getItem(), 2) + degree (LC (i.getItem(), 1)) + 1);
2797+
lift= tmax (lift,
2798+
degree (i.getItem(), 2) + degree (LC (i.getItem(), 1)) + 1);
27952799

27962800
lift= tmax (degree (Aeval.getFirst() , 2) + 1, lift);
27972801

0 commit comments

Comments
 (0)