Changeset b1ff71 in git for Singular/iparith.cc


Ignore:
Timestamp:
Jul 14, 2010, 11:01:55 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
81104ed2dadbfad0477badcdf86b06b1a0b0e59c
Parents:
29c5bddc7323e57463888d471da9ef0f6645cb2e
Message:
toward long for exponents

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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r29c5bd rb1ff71  
    10481048      b=(poly)v->CopyD(POLY_CMD); // works also for VECTOR_CMD
    10491049      if ((a!=NULL) && (b!=NULL)
    1050       && (pTotaldegree(a)+pTotaldegree(b)>si_max((long)rVar(currRing),currRing->bitmask)))
     1050      && (pTotaldegree(a)+pTotaldegree(b)>si_max((long)rVar(currRing),(long)currRing->bitmask)))
    10511051      {
    10521052        Werror("OVERFLOW in mult(d=%ld, d=%ld, max=%ld)",
     
    10631063    b=pCopy((poly)v->Data());
    10641064    if ((a!=NULL) && (b!=NULL)
    1065     && (pTotaldegree(a)+pTotaldegree(b)>si_max((long)rVar(currRing),currRing->bitmask)))
     1065    && (pTotaldegree(a)+pTotaldegree(b)>si_max((long)rVar(currRing),(long)currRing->bitmask)))
    10661066    {
    10671067      Werror("OVERFLOW in mult(d=%ld, d=%ld, max=%ld)",
Note: See TracChangeset for help on using the changeset viewer.