Changeset 45c9bd3 in git for Singular/iparith.cc


Ignore:
Timestamp:
Aug 12, 2011, 5:36:13 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6cc7f5d54a92bff33c3baf595af86929d31cd9d3
Parents:
e824171d985f5ae877a9d889f80c776454e5db4d
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-12 17:36:13+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:22:44+01:00
Message:
FIX: use n_IsParam instead of lnumber/->z/p_Var
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    re82417 r45c9bd3  
    59535953  monomexpr=(poly)w->Data();
    59545954  poly p=(poly)v->Data();
    5955   #if 0
     5955#if 0
    59565956  if (pLength(monomexpr)>1)
    59575957  {
     
    59605960    return TRUE;
    59615961  }
    5962   #endif
     5962#endif
    59635963  if (!(ringvar=pVar(p)))
    59645964  {
     
    59665966    {
    59675967      assume(currRing->extRing!=NULL);
    5968       lnumber n=(lnumber)pGetCoeff(p);
    5969       ringvar=-p_Var(n->z,currRing->cf->extRing);
     5968      number n = pGetCoeff(p);
     5969      ringvar=- n_IsParam(n, currRing);
    59705970    }
    59715971    if(ringvar==0)
Note: See TracChangeset for help on using the changeset viewer.