Changeset c1ea88 in git


Ignore:
Timestamp:
Aug 20, 2012, 11:45:30 AM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
f3ff226911c2211a0612291dafa15b1ca30425ad
Parents:
397c12abe4be804e84f8786fb4da1e8fd1d25be6
git-author:
Martin Lee <martinlee84@web.de>2012-08-20 11:45:30+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-04 18:01:18+02:00
Message:
chg: build in a check if heuristic was successful
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFactorize.cc

    r397c12 rc1ea88  
    935935  bufBiFactors= biFactors;
    936936  bufA= A;
     937  CanonicalForm bufLCmultiplier= LCmultiplier;
    937938  CFList bufFactors= CFList();
    938939  bool LCheuristic= false;
     
    11791180      }
    11801181      factors= CFList();
     1182      if (!fdivides (LC (oldA,1),prod (leadingCoeffs2[A.level()-3])))
     1183      {
     1184        LCheuristic= false;
     1185        A= bufA;
     1186        biFactors= bufBiFactors;
     1187        leadingCoeffs2[A.level()-3]= bufLeadingCoeffs2;
     1188        LCmultiplier= bufLCmultiplier;
     1189      }
    11811190    }
    11821191    else
Note: See TracChangeset for help on using the changeset viewer.