Changeset 34ceab in git for kernel/clapsing.cc


Ignore:
Timestamp:
Jun 24, 2010, 4:00:15 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
6a9e46e4d4665d53cada3be5141ec2ab5e6cca8b
Parents:
979dab6fd11ae8dfb1094472739d3ad502c5b9bd
Message:
new factorization for Zp, Zp_a

git-svn-id: file:///usr/local/Singular/svn/trunk@12912 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/clapsing.cc

    r979dab r34ceab  
    830830    setCharacteristic( nGetChar() );
    831831    CanonicalForm F( convSingPFactoryP( f ) );
    832     if (rField_is_Q())
    833     {
    834       L = factorize( F );
    835     }
    836     else /* Fp */
    837     {
    838       do
    839       {
    840         libfac_interruptflag=0;
    841         L = Factorize( F );
    842       }
    843       while ((libfac_interruptflag!=0) ||(L.isEmpty()));
    844     }
     832    L = factorize( F );
    845833  }
    846834  #if 0
     
    871859      Variable a=rootOf(mipo);
    872860      CanonicalForm F( convSingAPFactoryAP( f,a,currRing ) );
    873       if (rField_is_Zp_a() && F.isUnivariate())
     861      if (rField_is_Zp_a())
    874862      {
    875863        L = factorize( F, a );
     
    878866      {
    879867        CanonicalForm G( convSingTrPFactoryP( f ) );
    880         //  over Q(a) / multivariate over Fp(a)
     868        //  over Q(a)
    881869        do
    882870        {
     
    894882    {
    895883      CanonicalForm F( convSingTrPFactoryP( f ) );
    896       if (rField_is_Q_a())
    897       {
    898         L = factorize( F );
    899       }
    900       else /* Fp(a) */
    901       {
    902         L = Factorize( F );
    903       }
     884      L = factorize( F );
    904885    }
    905886  }
Note: See TracChangeset for help on using the changeset viewer.