Changeset dffcf06 in git


Ignore:
Timestamp:
Jul 11, 2019, 3:05:40 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
295e8cf9f385a36c5e419d73f425fa060d791a8e
Parents:
cec9624fc2fb760a254a711c506b49a2d409a68c
Message:
opt: use pp_Divide pp_DivideM
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rcec9624 rdffcf06  
    12841284static BOOLEAN jjDIV_P(leftv res, leftv u, leftv v)
    12851285{
    1286   poly q=(poly)v->CopyD();
    1287   poly p=(poly)(u->CopyD());
    1288   res->data=(void*)(p_Divide(p /*(poly)(u->CopyD())*/ ,
    1289                                          q /*(poly)(v->CopyD())*/ ,currRing));
     1286  poly q=(poly)v->Data();
     1287  poly p=(poly)(u->Data());
     1288  res->data=(void*)(pp_Divide(p /*(poly)(u->Data())*/ ,
     1289                                         q /*(poly)(v->Data())*/ ,currRing));
    12901290  if (res->data!=NULL) pNormalize((poly)res->data);
    12911291  return errorreported; /*there may be errors in p_Divide: div. ny 0, etc.*/
     
    13141314      }
    13151315      else
    1316         MATELEM(mm,i,j) = pDivideM(pCopy(MATELEM(m,i,j)),pHead(q));
     1316        MATELEM(mm,i,j) = ppDivideM(MATELEM(m,i,j),q);
    13171317    }
    13181318  }
Note: See TracChangeset for help on using the changeset viewer.