Changeset d1ea862 in git


Ignore:
Timestamp:
Sep 6, 2012, 11:44:11 AM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
09f10ea22a97a54f71079faae7206def58b37826
Parents:
1682691e14d2ada5e1f0a4a4a753b3d05080e7d0
git-author:
Martin Lee <martinlee84@web.de>2012-09-06 11:44:11+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-06 11:51:12+02:00
Message:
chg: more checks in psr gcd over finite fields
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_gcd.cc

    r168269 rd1ea862  
    594594        pi = pi1; pi1 = pi2;
    595595        maxNumVars= tmax (getNumVars (pi), getNumVars (pi1));
     596        if (!(pi1.isUnivariate()) && (size (pi1)/maxNumVars > 500))
     597        {
     598            On (SW_USE_FF_MOD_GCD);
     599            C *= gcd (oldPi, oldPi1);
     600            Off (SW_USE_FF_MOD_GCD);
     601            return C;
     602        }
    596603        if ( degree( pi1, v ) > 0 )
    597604        {
Note: See TracChangeset for help on using the changeset viewer.