Changeset cf80a5d in tol


Ignore:
Timestamp:
May 21, 2014, 2:45:19 PM (12 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e55369ea
Parents:
6601595
Message:

Refs #1770
Fixed bugs

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6251 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tol/bmath
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/bmath/bstat/ar.cpp

    r6601595 rcf80a5d  
    5252{
    5353  if(!pol.Size()) { return; }
    54   BInt minDeg = pol(0).Degree();
     54  BInt minDeg = 0; //pol(0).Degree();
    5555  BInt maxDeg = pol(pol.Size()-1).Degree();
    5656  BInt dif = (maxDeg-minDeg);
  • tol/bmath/mathobjects/complex.cpp

    r6601595 rcf80a5d  
    431431{
    432432  int gcd = pol.Period();
     433  if(!gcd)
     434  {
     435    row.AllocBuffer(0);
     436    return;
     437  }
    433438  int n = pol.Degree() / gcd;
    434439  int s = pol.Size();
Note: See TracChangeset for help on using the changeset viewer.