Changeset 7c5fba5 in git


Ignore:
Timestamp:
Aug 3, 2010, 2:26:26 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
57dfde6393ffc702f8e898e313d4b76980cdddd5
Parents:
23206f45f27f97c1e881f5551c606d81d4c1a225
Message:
fix subst

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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r23206f4 r7c5fba5  
    63896389  if (ringvar>0)
    63906390  {
    6391     if ((monomexpr!=NULL) && (p!=NULL)
    6392     &&((long)pTotaldegree(monomexpr)> (currRing->bitmask / (long)pTotaldegree(p))))
    6393     {
    6394       Werror("OVERFLOW in subst, max exponent is %ld",currRing->bitmask);
    6395       return TRUE;
     6391    if ((monomexpr!=NULL) && (p!=NULL) && (pTotaldegree(p)!=0) &&
     6392    ((unsigned long)pTotaldegree(monomexpr) > (currRing->bitmask / (unsigned long)pTotaldegree(p))))
     6393    {
     6394      Warn("possible OVERFLOW in subst, max exponent is %ld",currRing->bitmask);
     6395      //return TRUE;
    63966396    }
    63976397    if ((monomexpr==NULL)||(pNext(monomexpr)==NULL))
Note: See TracChangeset for help on using the changeset viewer.