Changeset 7c5fba5 in git


Ignore:
Timestamp:
Aug 3, 2010, 2:26:26 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
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.