Changeset 19df79 in git for Singular/kstd1.cc


Ignore:
Timestamp:
Dec 21, 2000, 5:37:52 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
cc3a04e207e65e63ef1f42613861ce5365082fff
Parents:
d9f665b2cc780458978ceb1111b560b41f9f9d4e
Message:
* towards tailRings for local case


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

Legend:

Unmodified
Added
Removed
  • Singular/kstd1.cc

    rd9f665 r19df79  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd1.cc,v 1.75 2000-12-20 11:15:43 obachman Exp $ */
     4/* $Id: kstd1.cc,v 1.76 2000-12-21 16:37:49 obachman Exp $ */
    55/*
    66* ABSTRACT:
     
    1111
    1212// define if tailrings should be used
    13 #define HAVE_TAIL_RING
     13// #define HAVE_TAIL_RING
    1414
    1515#include "mod2.h"
     
    134134    h->GetP();
    135135    h->SetLength(strat->length_pLength);
    136     ret = ksReducePoly(&L, with, strat->kNoether, NULL, strat);
     136    ret = ksReducePoly(&L, with, strat->kNoetherTail(), NULL, strat);
    137137    if (ret)
    138138    {
     
    147147  }
    148148  else
    149     ret = ksReducePoly(h, with, strat->kNoether, NULL, strat);
     149    ret = ksReducePoly(h, with, strat->kNoetherTail(), NULL, strat);
    150150#ifdef KDEBUG
    151151  if (TEST_OPT_DEBUG)
     
    357357    }
    358358#endif
    359     ksReducePoly(h, &(strat->T[j]), strat->kNoether, NULL, strat);
     359    ksReducePoly(h, &(strat->T[j]), strat->kNoetherTail(), NULL, strat);
    360360#ifdef KDEBUG
    361361    if (TEST_OPT_DEBUG)
     
    527527      /*- try to reduce the s-polynomial -*/
    528528      o = H.SetpFDeg();
    529       cancelunit(&H);
     529      if (flag != 2) cancelunit(&H);
    530530      H.ecart = pLDeg(H.p,&(H.length))-o;
    531531      j = 0;
     
    749749        }
    750750        /* create the real one */
    751         ksCreateSpoly(&(strat->L[j]), strat->kNoether, FALSE,
     751        ksCreateSpoly(&(strat->L[j]), strat->kNoetherTail(), FALSE,
    752752                      strat->tailRing, m1, m2, strat->R);
    753753
     
    806806        }
    807807        /* create the real one */
    808         ksCreateSpoly(&(strat->L[i]), strat->kNoether, FALSE,
     808        ksCreateSpoly(&(strat->L[i]), strat->kNoetherTail(), FALSE,
    809809                      strat->tailRing, m1, m2, strat->R);
    810810        if (! strat->L[i].IsNull())
     
    10981098
    10991099#ifdef HAVE_TAIL_RING
    1100   if (strat->homog && strat->red == redFirst)
     1100//  if (strat->homog && strat->red == redFirst)
    11011101    kStratInitChangeTailRing(strat);
    11021102#endif 
     
    11501150      }
    11511151      /* create the real one */
    1152       ksCreateSpoly(&(strat->P), strat->kNoether, strat->use_buckets,
     1152      ksCreateSpoly(&(strat->P), strat->kNoetherTail(), strat->use_buckets,
    11531153                    strat->tailRing, m1, m2, strat->R);
    11541154      if (!strat->use_buckets)
Note: See TracChangeset for help on using the changeset viewer.