Changeset b19ab84 in git for libpolys/coeffs/rmodulon.cc


Ignore:
Timestamp:
May 10, 2011, 7:05:58 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
05aa4ba5a9c62c92398b1cd7067b8977ec993bb3
Parents:
bea370bfafc6b719f65e3d21472ecc023533e962
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-10 19:05:58+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:34:45+01:00
Message:
add some missing routines to coeffs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/rmodulon.cc

    rbea370 rb19ab84  
    3434  omFreeSize((ADDRESS)s, l);
    3535}
     36
     37static BOOLEAN nrnCoeffsEqual(const coeffs r, n_coeffType n, void * parameter)
     38{
     39  /* test, if r is an instance of nInitCoeffs(n,parameter) */
     40  return (n==n_Zn) && (mpz_cmp(r->modNumber,(mpz_ptr)parameter)==0);
     41}
     42
    3643
    3744/* for initializing function pointers */
     
    7582  r->cfName        = ndName;
    7683  r->cfCoeffWrite  = nrnCoeffWrite;
     84  r->nCoeffIsEqual = nrnCoeffsEqual;
    7785#ifdef LDEBUG
    7886  r->cfDBTest      = nrnDBTest;
Note: See TracChangeset for help on using the changeset viewer.