Skip to content

Commit

Permalink
fix: minor fix in distribute content
Browse files Browse the repository at this point in the history
  • Loading branch information
mmklee committed Sep 5, 2012
1 parent 4a7e5c0 commit 935632e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions factory/facFqFactorize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1244,12 +1244,17 @@ distributeContent (const CFList& L, const CFList* differentSecondVarFactors,
iter1= l;
iter1++;

v= Variable (i + 3);
tmp= 1;
for (iter2= differentSecondVarFactors[i]; iter2.hasItem();
iter2++, iter1++)
{
if (degree (iter2.getItem(),v) == degree (iter1.getItem(),v))
if (iter2.getItem().inCoeffDomain())
{
multiplier.append (1);
continue;
}
v= iter2.getItem().mvar();
if (degree (iter2.getItem()) == degree (iter1.getItem(),v))
{
multiplier.append (1);
continue;
Expand Down

0 comments on commit 935632e

Please sign in to comment.