Changeset 2466f0d in git


Ignore:
Timestamp:
Sep 4, 1998, 6:06:30 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
b95c835f584107cff0126297f44e3d7339280f29
Parents:
e974a23c09bd2c265c9c90d6d44e56270832bb6f
Message:
* hannes: fixed a bug in Bareiss: cannot use nIntDiv,
   ( matrix may contain rationals)


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

Legend:

Unmodified
Added
Removed
  • Singular/matpol.cc

    re974a2 r2466f0d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: matpol.cc,v 1.17 1998-08-26 15:57:52 Singular Exp $ */
     4/* $Id: matpol.cc,v 1.18 1998-09-04 16:06:30 Singular Exp $ */
    55
    66/*
     
    408408  }
    409409  Bareiss->mpSaveArray();
     410  idTest((ideal)re);
    410411  delete Bareiss;
    411412  return re;
     
    504505  {
    505506    p = pCopy(MATELEM(s,1,i));
    506     pTest(p);
    507507    for (j=i-1; j>=1; j--)
    508508    {
     
    10521052          q2 = pMult(q1, pCopy(piv));
    10531053        }
    1054         if (q2 && div)
     1054        if ((q2!=NULL) && div)
    10551055          q2 = mpDivide(q2, div);
    10561056        a[jj] = q2;
     
    14101410        pSetm(r);
    14111411      }
    1412       y = nIntDiv(pGetCoeff(r),x);
     1412      y = nDiv(pGetCoeff(r),x);
    14131413      pSetCoeff(r,y);
    14141414      pIter(r);
    14151415    } while (r != NULL);
     1416    //pTest(a);
    14161417    return a;
    14171418  }
     
    14441445  } while (r!=NULL);
    14451446  pFree1(h0);
     1447  //pTest(a);
    14461448  return a;
    14471449}
Note: See TracChangeset for help on using the changeset viewer.