Changeset fc83e4 in git for Singular/pInline0.h


Ignore:
Timestamp:
Nov 8, 2000, 4:35:01 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
ace7b337202afa8941902d34dd115ea241e90aed
Parents:
a3f7dfdce2de577c3894d03276b7bbf41384e113
Message:
* bug fixes for tailRing


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

Legend:

Unmodified
Added
Removed
  • Singular/pInline0.h

    ra3f7df rfc83e4  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pInline0.h,v 1.3 2000-09-20 12:56:36 obachman Exp $
     9 *  Version: $Id: pInline0.h,v 1.4 2000-11-08 15:34:59 obachman Exp $
    1010 *******************************************************************/
    1111#ifndef PINLINE0_H
     
    5959
    6060// returns maximal column number in the modul element a (or 0)
    61 PINLINE0 int p_MaxComp(poly p, ring r)
     61PINLINE0 long p_MaxComp(poly p, ring lmRing, ring tailRing)
    6262{
    6363  int result,i;
    6464
    6565  if(p==NULL) return 0;
    66   result = p_GetComp(p, r);
     66  result = p_GetComp(p, lmRing);
    6767  while (pNext(p)!=NULL)
    6868  {
    6969    pIter(p);
    70     i = p_GetComp(p, r);
     70    i = p_GetComp(p, tailRing);
    7171    if (i>result) result = i;
    7272  }
Note: See TracChangeset for help on using the changeset viewer.