Changeset a05493f in git


Ignore:
Timestamp:
Oct 26, 2010, 1:38:19 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '45e267b9942dec9429fe249ce3e5e44ab80a6a3a')
Children:
ce4af43a4dc507427a8209dccc31b8d094b93a2c
Parents:
855a8fc589c97b87502f002dfe43c06473c7c847
Message:
code simplified


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

Legend:

Unmodified
Added
Removed
  • kernel/pInline2.h

    r855a8f ra05493f  
    365365}
    366366
    367 PINLINE2 unsigned long p_GetMaxExp(poly p, ring r)
     367PINLINE2 unsigned long p_GetMaxExp(const poly p, const ring r)
    368368{
    369369  return p_GetMaxExp(p_GetMaxExpL(p, r), r);
  • kernel/p_polys.h

    r855a8f ra05493f  
    193193PINLINE2 unsigned long p_GetMaxExp(poly p, ring r);
    194194// return the maximal exponent of p in form of the maximal long var
    195 unsigned long p_GetMaxExpL(poly p, ring r, unsigned long l_max = 0);
     195unsigned long p_GetMaxExpL(poly p, const ring r, unsigned long l_max = 0);
    196196// return monomial r such that GetExp(r,i) is maximum of all
    197197// monomials in p; coeff == 0, next == NULL, ord is not set
     
    199199
    200200// suppose that l is a long var in r, return maximal exponent of l
    201 PINLINE2 unsigned long p_GetMaxExp(unsigned long l, ring r);
     201PINLINE2 unsigned long p_GetMaxExp(const unsigned long l, const ring r);
    202202
    203203// return the TotalDegree of the long var l
Note: See TracChangeset for help on using the changeset viewer.