Changeset b0bb93f in git


Ignore:
Timestamp:
Dec 14, 2011, 3:21:12 PM (12 years ago)
Author:
YueRen <yue.ren.kl@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
eb71ba41d7467fc241fc87e95ae3e044933adafd
Parents:
62b20a676b4c20cfdee48773925c850d105aba6e
git-author:
YueRen <yue.ren.kl@gmail.com>2011-12-14 15:21:12+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:09:33+01:00
Message:
extended nfCoeffsEqual to check for parameter names
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/ffields.cc

    r62b20a rb0bb93f  
    756756}
    757757
     758static BOOLEAN nfCoeffIsEqual(const coeffs, n_coeffType, void*);
     759
    758760BOOLEAN nfInitChar(coeffs r,  void * parameter)
    759761{
    760 
    761 
    762762  //r->cfInitChar=npInitChar;
    763763  //r->cfKillChar=nfKillChar;
     
    882882}
    883883
    884 BOOLEAN nfCoeffIsEqual (const coeffs r, n_coeffType n, void * parameter)
    885 {
    886 
     884static BOOLEAN nfCoeffIsEqual (const coeffs r, n_coeffType n, void * parameter)
     885{
    887886  if (n==n_GF) {
    888887    GFInfo* p = (GFInfo *)(parameter);
    889888    int c = pow (p->GFChar, p->GFDegree);
    890     if (c == r->m_nfCharQ)
     889    if ((c == r->m_nfCharQ) && (strcmp(r->m_nfParameter,p->GFPar_name) == 0))
    891890      return TRUE;
    892891  }
  • libpolys/coeffs/ffields.h

    r62b20a rb0bb93f  
    1111
    1212BOOLEAN nfInitChar(coeffs r, void*);
    13 
    14 //static BOOLEAN nfCoeffsEqual(const coeffs r, n_coeffType n, void* parameter);
    1513
    1614BOOLEAN nfGreaterZero (number k, const coeffs r);
     
    4543void    nfShowMipo(const coeffs r);
    4644#endif
    47 
    48 BOOLEAN nfCoeffIsEqual (const coeffs r, n_coeffType n, void * parameter);
Note: See TracChangeset for help on using the changeset viewer.