Changeset 4b38e3 in git


Ignore:
Timestamp:
Jan 6, 2012, 9:46:35 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
Children:
a74143eec598021f060c389b66230f8f035cc1c5
Parents:
e77676b144a632a4f4be31c2b5ece802a9c3c2f5
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:46:35+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:59:37+01:00
Message:
coeffs: removed nInternalChar in favour of n_GetChar
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    re77676 r4b38e3  
    289289}
    290290
    291 static inline int nInternalChar(const coeffs r)
    292 {
    293   assume(r != NULL);
    294   return r->ch;
    295 }
    296 
    297291/// one-time initialisations for new coeffs
    298292/// in case of an error return NULL
     
    735729// HAVE_RINGS: cfDivComp, cfExtGcd...
    736730
    737 // Deprecated:
     731/// Return the characteristic of the coeff. domain.
    738732static inline int n_GetChar(const coeffs r)
    739 { assume(r != NULL); return nInternalChar(r); }
    740 
    741 #endif
    742 
     733{
     734  assume(r != NULL);
     735  return r->ch;
     736}
     737
     738#endif
     739
  • libpolys/coeffs/numbers.h

    re77676 r4b38e3  
    2222#define nNeg(n)           n_Neg(n, currRing->cf)
    2323#define nSub(n1, n2)      n_Sub(n1, n2, currRing->cf)
    24 #define nGetChar()        nInternalChar(currRing->cf)
     24#define nGetChar()        n_GetChar(currRing->cf)
    2525#define nInit(i)          n_Init(i, currRing->cf)
    2626#define nIsOne(n)         n_IsOne(n, currRing->cf)
Note: See TracChangeset for help on using the changeset viewer.