Changeset 2b957a in git for coeffs/modulop.cc


Ignore:
Timestamp:
Jun 8, 2010, 11:40:27 PM (14 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c4c8181ff644b04ae3f3b82007442444a629e055
Parents:
c3d17527305d0cf9da8226a23b8fc95f6e3f37d0
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-06-08 23:40:27+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:03+01:00
Message:
Fixing bugs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • coeffs/modulop.cc

    rc3d175 r2b957a  
    439439
    440440#ifdef LDEBUG
    441 BOOLEAN npDBTest (number a, const coeffs r, const char *f, const int l)
     441BOOLEAN npDBTest (number a, const char *f, const int l, const coeffs r)
    442442{
    443443  if (((long)a<0) || ((long)a>r->npPrimeM))
     
    452452number npMap0(number from, const coeffs src, const coeffs dst_r)
    453453{
    454   return npInit(nlModP(from,dst_r->npPrimeM),dst_r);
     454  int nlModP(number n, int p, const coeffs r);
     455
     456  return npInit(nlModP(from, dst_r->npPrimeM, src),dst_r);
    455457}
    456458
Note: See TracChangeset for help on using the changeset viewer.