Changeset 895f38 in git


Ignore:
Timestamp:
Dec 9, 2006, 3:23:11 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
6a1cda546dc1b384b024ff7eeb708681672c654d
Parents:
e929b20c0a94aac14a96c4ce986dd6b9d7a2553d
Message:
*hannes: PLURUL: SB_1


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

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    re929b2 r895f38  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.38 2006-12-08 17:50:55 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.39 2006-12-09 14:23:11 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    14591459  if(pHasNotCF(p,strat->S[i]))
    14601460  {
    1461     //PrintS("prod-crit\n");
    14621461    if (!rIsPluralRing(currRing))
    14631462    {
     1463      //PrintS("prod-crit\n");
    14641464      strat->cp++;
    14651465      return;
     
    14931493  /*-  compute the short s-polynomial -*/
    14941494
    1495   Lp.p = ksCreateShortSpoly(strat->S[i],p,strat->tailRing);
     1495  #ifdef HAVE_PLURAL
     1496  if (rIsPluralRing(currRing))
     1497  {
     1498    Lp.p = nc_CreateShortSpoly(strat->S[i],p);
     1499  }
     1500  else
     1501  #endif
     1502    Lp.p = ksCreateShortSpoly(strat->S[i],p,strat->tailRing);
    14961503  if (Lp.p == NULL)
    14971504  {
     1505     //PrintS("short spoly==NULL\n");
    14981506     pLmFree(Lp.lcm);
    14991507  }
     
    25622570    }
    25632571  }
    2564   j=pos;
    2565   loop
    2566   {
    2567     unsigned long h_sev = pGetShortExpVector(h);
    2568     if (j > k) break;
    2569     clearS(h,h_sev,&j,&k,strat);
    2570     j++;
     2572  #ifdef HAVE_PLURAL
     2573  if (!rIsPluralRing(currRing))
     2574  #endif
     2575  {
     2576    j=pos;
     2577    loop
     2578    {
     2579      unsigned long h_sev = pGetShortExpVector(h);
     2580      if (j > k) break;
     2581      clearS(h,h_sev,&j,&k,strat);
     2582      j++;
     2583    }
    25712584  }
    25722585}
     
    44374450  if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc;
    44384451  else i=setmaxT;
    4439   i=((i+IDELEMS(F)+15)/16)*16;
     4452  i=((i+IDELEMS(F)+IDELEMS(P)+15)/16)*16;
    44404453  strat->ecartS=initec(i);
    44414454  strat->sevS=initsevS(i);
Note: See TracChangeset for help on using the changeset viewer.