Changeset 1315ea in git


Ignore:
Timestamp:
Jan 26, 2007, 1:08:28 PM (17 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
724bb08fec87e2a03469244f7f07c731354fe49b
Parents:
603d451f8e2d1a13a2299b7b484a8db3ded8f19b
Message:
+ redTail for nc


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

Legend:

Unmodified
Added
Removed
  • kernel/tgb.cc

    r603d45 r1315ea  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: tgb.cc,v 1.112 2007-01-11 10:58:22 Singular Exp $ */
     7/* $Id: tgb.cc,v 1.113 2007-01-26 12:08:28 bricken Exp $ */
    88/*
    99* ABSTRACT: slimgb and F4 implementation
     
    19641964    kBucketDestroy(&buf[j].bucket);
    19651965
    1966     if (!c->nc) {
     1966    //if (!c->nc) {
    19671967      if ((TEST_OPT_REDTAIL)&&(c->S->rank<=1)){
    19681968      p=redNFTail(p,c->strat->sl,c->strat, 0);
     
    19701970      p=redTailShort(p, c->strat);
    19711971      }
    1972       }
     1972      //}
    19731973    sbuf[j]=add_to_basis_ideal_quotient(p,c,ibuf+j);
    19741974    //sbuf[j]=add_to_basis(p,-1,-1,c,ibuf+j);
     
    20762076static poly redNFTail (poly h,const int sl,kStrategy strat, int len)
    20772077{
     2078  BOOLEAN nc=rIsPluralRing(currRing);
    20782079  if (h==NULL) return NULL;
    20792080  pTest(h);
     
    21192120            number coef;
    21202121            pTest(strat->S[j]);
    2121             coef=kBucketPolyRed(P.bucket,strat->S[j],
     2122            if (nc){
     2123              nc_BucketPolyRed_Z(P.bucket, strat->S[j], &coef);
     2124            } else
     2125              coef=kBucketPolyRed(P.bucket,strat->S[j],
    21222126                                strat->lenS[j]/*pLength(strat->S[j])*/,strat->kNoether);
    21232127            pMult_nn(res,coef);
Note: See TracChangeset for help on using the changeset viewer.