Changeset 36ef6e0 in git


Ignore:
Timestamp:
Sep 29, 2011, 3:19:44 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
ff7e14a9167a94af5027b3f440891134532b6e7d
Parents:
f9a64e43157d20fa60b00feb9b3f9b3bfdd82c28
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-29 15:19:44+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:48+01:00
Message:
fix: naLcm was implemented in a wrong way
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/algext.cc

    rf9a64e r36ef6e0  
    9494number   naGetNumerator(number &a, const coeffs cf);
    9595number   naGcd(number a, number b, const coeffs cf);
    96 number   naLcm(number a, number b, const coeffs cf);
     96//number   naLcm(number a, number b, const coeffs cf);
    9797int      naSize(number a, const coeffs cf);
    9898void     naDelete(number *a, const coeffs cf);
     
    448448}
    449449
     450#if 0
    450451/* implemented by the rule lcm(a, b) = a * b / gcd(a, b) */
    451452number naLcm(number a, number b, const coeffs cf)
     
    461462  return naDiv(theProduct, theGcd, cf);
    462463}
     464#endif
    463465
    464466/* expects *param to be castable to AlgExtInfo */
     
    725727#endif
    726728  cf->cfGcd          = naGcd;
    727   cf->cfLcm          = naLcm;
     729  //cf->cfLcm          = naLcm;
    728730  cf->cfSize         = naSize;
    729731  cf->nCoeffIsEqual  = naCoeffIsEqual;
Note: See TracChangeset for help on using the changeset viewer.