Changeset 4c1e770 in git


Ignore:
Timestamp:
Jul 17, 2017, 2:06:18 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
8370d99f7ebd4813879727a67807720aa05eb4c5
Parents:
798f68576582455acc38542098a6cbb90f21dfc5
Message:
fix: div/mod is not implemented for polynomials over ZZ (in factory)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapsing.cc

    r798f685 r4c1e770  
    585585    res = convFactoryPSingP( F / G,r );
    586586  }
    587   else if (rField_is_Ring_Z(r))
    588   {
    589     Off(SW_RATIONAL);
    590     setCharacteristic( rChar(r) );
    591     CanonicalForm F( convSingPFactoryP( f,r ) ), G( convSingPFactoryP( g,r ) );
    592     res = convFactoryPSingP( F / G,r );
    593   }
     587  // div is not implemented for ZZ coeffs in factory
    594588  else if (r->cf->extRing!=NULL)
    595589  {
     
    637631    res = convFactoryPSingP( F % G,r );
    638632  }
    639   else if (rField_is_Ring_Z(r))
    640   {
    641     Off(SW_RATIONAL);
    642     setCharacteristic( rChar(r) );
    643     CanonicalForm F( convSingPFactoryP( f,r ) ), G( convSingPFactoryP( g,r ) );
    644     res = convFactoryPSingP( F % G,r );
    645   }
     633  // mod is not implemented for ZZ coeffs in factory
    646634  else if (r->cf->extRing!=NULL)
    647635  {
Note: See TracChangeset for help on using the changeset viewer.