Ignore:
Timestamp:
Mar 25, 2021, 2:21:44 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
281f9f2840a2fc658c50cae0b1a737435786544d
Parents:
c16bdef35175b236a3d32ddd0a323bd2a93183dd280aeceb2daee09b3e9e0ac398edcd7ec3ad779a
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2021-03-25 14:21:44+01:00
git-committer:
GitHub <noreply@github.com>2021-03-25 14:21:44+01:00
Message:
Merge pull request #1067 from mkoeppe/doc_set_PERL5LIB

doc/Makefile-docbuild.in: When setting PERLLIB, also set PERL5LIB
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.cc

    r280aec r1af8ad  
    683683}
    684684
    685 long p_DegW(poly p, const short *w, const ring R)
     685long p_DegW(poly p, const int *w, const ring R)
    686686{
    687687  p_Test(p, R);
     
    44274427}
    44284428
    4429 poly pp_JetW(poly p, int m, short *w, const ring R)
     4429poly pp_JetW(poly p, int m, int *w, const ring R)
    44304430{
    44314431  poly r=NULL;
     
    44544454}
    44554455
    4456 poly p_JetW(poly p, int m, short *w, const ring R)
     4456poly p_JetW(poly p, int m, int *w, const ring R)
    44574457{
    44584458  while((p!=NULL) && (totaldegreeWecart_IV(p,R,w)>m)) p_LmDelete(&p,R);
     
    45014501  if(n==0)
    45024502    return v;
    4503   short *ww=iv2array(w,R);
     4503  int *ww=iv2array(w,R);
    45044504  poly u1=p_JetW(p_Sub(p_One(R),__p_Mult_nn(u,u0,R),R),n,ww,R);
    45054505  if(u1==NULL)
    45064506  {
    4507     omFreeSize((ADDRESS)ww,(rVar(R)+1)*sizeof(short));
     4507    omFreeSize((ADDRESS)ww,(rVar(R)+1)*sizeof(int));
    45084508    return v;
    45094509  }
     
    45174517  p_Delete(&u1,R);
    45184518  p_Delete(&v1,R);
    4519   omFreeSize((ADDRESS)ww,(rVar(R)+1)*sizeof(short));
     4519  omFreeSize((ADDRESS)ww,(rVar(R)+1)*sizeof(int));
    45204520  return v;
    45214521}
     
    45244524poly p_Series(int n,poly p,poly u, intvec *w, const ring R)
    45254525{
    4526   short *ww=iv2array(w,R);
     4526  int *ww=iv2array(w,R);
    45274527  if(p!=NULL)
    45284528  {
     
    45324532      p=p_JetW(p_Mult_q(p,p_Invers(n-p_MinDeg(p,w,R),u,w,R),R),n,ww,R);
    45334533  }
    4534   omFreeSize((ADDRESS)ww,(rVar(R)+1)*sizeof(short));
     4534  omFreeSize((ADDRESS)ww,(rVar(R)+1)*sizeof(int));
    45354535  return p;
    45364536}
Note: See TracChangeset for help on using the changeset viewer.