Changeset 6ad45e in git


Ignore:
Timestamp:
Jan 10, 2014, 1:15:38 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
0b7a8a6c046634bef2214699c4d563e3943a646b
Parents:
58effbc527b95873aef4b38419a11880d8f824a2
git-author:
Martin Lee <martinlee84@web.de>2014-01-10 13:15:38+01:00
git-committer:
Martin Lee <martinlee84@web.de>2014-01-20 16:45:05+01:00
Message:
chg: discart evaluation points that lead to a content
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/facFactorize.cc

    r58effb r6ad45e  
    129129    iter++;
    130130    CanonicalForm contentx= content (iter.getItem(), x);
     131    if (degree (contentx) > 0)
     132    {
     133      result= CFList();
     134      eval= CFList();
     135      LCFeval= CFList();
     136      E.nextpoint();
     137      continue;
     138    }
     139    contentx= content (iter.getItem());
    131140    if (degree (contentx) > 0)
    132141    {
  • factory/facFqFactorize.cc

    r58effb r6ad45e  
    876876    i++;
    877877    CanonicalForm contentx= content (i.getItem(), x);
     878    if (degree (contentx) > 0)
     879    {
     880      if (!find (list, random))
     881        list.append (random);
     882      result= CFList();
     883      LCFeval= CFList();
     884      eval= CFList();
     885      continue;
     886    }
     887
     888    contentx= content (i.getItem());
    878889    if (degree (contentx) > 0)
    879890    {
     
    19701981    }
    19711982    if (!content(tmp,1).inCoeffDomain())
     1983      preserveDegree= false;
     1984    if (!content(tmp).inCoeffDomain())
    19721985      preserveDegree= false;
    19731986    if (!(gcd (deriv (tmp,x), tmp)).inCoeffDomain())
Note: See TracChangeset for help on using the changeset viewer.