Changeset f41bd9 in git


Ignore:
Timestamp:
Nov 17, 2006, 3:48:40 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
f7bfe57a1b40c83680cd53d79cc0b6eaa191eb5a
Parents:
cbeafc2d8ef1c1721a0d5867a957c47c3dc013a9
Message:
*hannes: posInS....


git-svn-id: file:///usr/local/Singular/svn/trunk@9496 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/kstd2.cc

    rcbeafc2 rf41bd9  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd2.cc,v 1.25 2006-10-24 09:45:22 wienand Exp $ */
     4/* $Id: kstd2.cc,v 1.26 2006-11-17 14:47:37 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: alg. of Buchberger
     
    8888
    8989  pAssume(~not_sev == p_GetShortExpVector(p, currRing));
    90   //int ende=posInS(strat,*max_ind,p,0)+1+(strat->ak>0)*pGetComp(p);
    91   //if (ende>(*max_ind)) ende=(*max_ind);
     90#if 0
     91  int ende=posInS(strat,*max_ind,p,0)+1+(strat->ak>0)*pGetComp(p);
     92  if (ende>(*max_ind)) ende=(*max_ind);
     93#else
    9294  int ende=strat->sl;
     95#endif 
    9396  (*max_ind)=ende;
    9497  loop
  • kernel/kutil.cc

    rcbeafc2 rf41bd9  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.35 2006-11-07 10:16:50 wienand Exp $ */
     4/* $Id: kutil.cc,v 1.36 2006-11-17 14:48:40 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    26782678/*2
    26792679*looks up the position of p in set
    2680 *set[0] is the smallest with respect to the ordering-procedure
    2681 *pComp
     2680*set[0] is the smallest with respect to the ordering-procedure deg/pComp
    26822681* Assumption: posInS only depends on the leading term
    26832682*             otherwise, bba has to be changed
     
    26942693  int pc=pGetComp(p);
    26952694  if ((currRing->MixedOrder)
    2696   //|| (strat->ak>0)
     2695#if 0
     2696  || ((strat->ak>0) && ((currRing->order[0]==ringorder_c)||((currRing->order[0]==ringorder_C))))
     2697#endif
    26972698  )
    26982699  {
Note: See TracChangeset for help on using the changeset viewer.