Ignore:
Timestamp:
Jan 4, 2013, 6:39:47 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8f296a6216092a84f1ebb509dbcda5fe428004f7
Parents:
d9947d272d574a169450505d43dc8ad3a5b4d0f0
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-01-04 18:39:47+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-01-15 20:41:56+01:00
Message:
Fix: make positive leading coeff at normalizing!
File:
1 edited

Legend:

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

    rd9947d r558f3cc  
    101101
    102102
    103 extern void nlClearContent(ICoeffsEnumerator&, number&, const coeffs);
    104 extern void nlClearContentNoPositiveLead(ICoeffsEnumerator&, number&, const coeffs);
    105 
    106 //extern void nlClearDenominators(ICoeffsEnumerator&, number&, const coeffs);
    107 //extern void nlClearDenominatorsNoPositiveLead(ICoeffsEnumerator&, number&, const coeffs);
    108 
    109 
    110103omBin fractionObjectBin = omGetSpecBin(sizeof(fractionObject));
    111104
     
    315308
    316309    n_ClearDenominators(itr, g, ntRing->cf);
    317 //    nlClearDenominators(itr, g, ntRing->cf);
    318310
    319311    if( !n_GreaterZero(g, ntRing->cf) )
     
    402394
    403395  n_ClearDenominators(itr, g, ntRing->cf); // may return -1 :(((
    404 //    nlClearDenominators(itr, g, ntRing->cf);
    405 
    406396
    407397  if( !n_GreaterZero(g, ntRing->cf) )
     
    556546
    557547    n_ClearDenominators(itr, g, ntRing->cf);
    558 //    nlClearDenominators(itr, g, ntRing->cf);
    559548
    560549    if( !n_GreaterZero(g, ntRing->cf) )
     
    18251814  number cc;
    18261815
    1827 //  nlClearContentNoPositiveLead(itr, cc, Q); // TODO: get rid of (-LC) normalization!?
    1828   nlClearContent(itr, cc, Q);
     1816  n_ClearContent(itr, cc, Q);
    18291817  number g = ntInit(p_NSet(cc, R), cf);
    18301818
Note: See TracChangeset for help on using the changeset viewer.