Changeset f6c50d in git


Ignore:
Timestamp:
May 23, 2011, 3:26:45 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
fab2cca2c0bc1394ddf0712513e994b18368d0f1
Parents:
70b4f4613db72f20d5dc20493b7b6ff6414e661b
Message:
 add assume to pDivide

git-svn-id: file:///usr/local/Singular/svn/trunk@14236 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/polys.cc

    r70b4f4 rf6c50d  
    104104poly pDivide(poly a, poly b)
    105105{
     106  assume((pGetComp(a)==pGetComp(b)) || (pGetComp(b)==0));
    106107  int i;
    107108  poly result = pInit();
     
    169170    if (pDivisibleBy(b,a))
    170171    {
     172      assume((pGetComp(a)==pGetComp(b)) || (pGetComp(b)==0));
    171173      for(i=(int)pVariables; i; i--)
    172174         pSubExp(a,i, pGetExp(b,i));
Note: See TracChangeset for help on using the changeset viewer.