Ignore:
Timestamp:
Jul 7, 2015, 3:09:22 PM (8 years ago)
Author:
Adi Popescu <adi_popescum@…>
Branches:
(u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
Children:
d0e703dc337d27819a1065c061abfc0f530c5204
Parents:
1c3860b85a769e98757cea4c9c523161e6ffc106
Message:
fix: changed pLmDivBy to test just the lm (not LT)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.h

    r1c3860b r1d85ccd  
    15831583    while (i>=0);
    15841584  }
    1585 #ifdef HAVE_RINGS
     1585/*#ifdef HAVE_RINGS
    15861586  pDivAssume(p_DebugLmDivisibleByNoComp(a, b, r) == n_DivBy(p_GetCoeff(b, r), p_GetCoeff(a, r), r->cf));
    15871587  return (!rField_is_Ring(r)) || n_DivBy(p_GetCoeff(b, r), p_GetCoeff(a, r), r->cf);
    15881588#else
     1589*/
    15891590  pDivAssume(p_DebugLmDivisibleByNoComp(a, b, r) == TRUE);
    15901591  return TRUE;
    1591 #endif
     1592//#endif
    15921593}
    15931594
     
    16041605  }
    16051606  while (i);
    1606 #ifdef HAVE_RINGS
     1607/*#ifdef HAVE_RINGS
    16071608  return n_DivBy(p_GetCoeff(b, r_b), p_GetCoeff(a, r_a), r_a->cf);
    16081609#else
     1610*/
    16091611  return TRUE;
    1610 #endif
     1612//#endif
    16111613}
    16121614
     
    16241626  }
    16251627  while (i>=start);
    1626 #ifdef HAVE_RINGS
     1628/*#ifdef HAVE_RINGS
    16271629  return n_DivBy(p_GetCoeff(b, r_b), p_GetCoeff(a, r_a), r_a->cf);
    16281630#else
     1631*/
    16291632  return TRUE;
    1630 #endif
     1633//#endif
    16311634}
    16321635static inline BOOLEAN _p_LmDivisibleByPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end)
Note: See TracChangeset for help on using the changeset viewer.