Changeset 7ac612 in git


Ignore:
Timestamp:
Jul 29, 2011, 4:40:54 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
38f8dfcfefe32659c95fdaeaba57fc8133c2dca8
Parents:
ad3aa7914b6579de07eda993d2ee2be453525603
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-07-29 16:40:54+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:01:16+01:00
Message:
cahnged: maFindPerm (uses cf->type instead of cf->ch)
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/fglm.h

    rad3aa7 r7ac612  
    1515
    1616#ifdef HAVE_FACTORY
    17 #include <factory/factory.h>
     17#include <factory/factoryconf.h>
    1818
    1919#include <polys/polys.h>
     
    3939    BOOLEAN isBasisOrEdge() const { return ( (divisors[0] == numVars) ? TRUE : FALSE ); }
    4040    void newDivisor( int var ) { divisors[ ++divisors[0] ]= var; }
    41 #ifndef NOSTREAMIO
    42 friend OSTREAM & operator <<(OSTREAM &, fglmSelem);
    43 #endif
     41//#ifndef NOSTREAMIO
     42//friend OSTREAM & operator <<(OSTREAM &, fglmSelem);
     43//#endif
    4444};
    45 #ifndef NOSTREAMIO
    46 inline OSTREAM & operator <<(OSTREAM & os, fglmSelem) { return os;};
    47 #endif
     45//#ifndef NOSTREAMIO
     46//inline OSTREAM & operator <<(OSTREAM & os, fglmSelem) { return os;};
     47//#endif
    4848
    4949class fglmDelem
     
    5959    BOOLEAN isBasisOrEdge() const { return ( (insertions == 0) ? TRUE : FALSE ); }
    6060    void newDivisor() { insertions--; }
    61 #ifndef NOSTREAMIO
    62 friend OSTREAM & operator <<(OSTREAM &, fglmDelem);
    63 #endif
     61//#ifndef NOSTREAMIO
     62//friend OSTREAM & operator <<(OSTREAM &, fglmDelem);
     63//#endif
    6464};
    65 #ifndef NOSTREAMIO
    66 inline OSTREAM & operator <<(OSTREAM & os, fglmDelem) { return os;};
    67 #endif
     65//#ifndef NOSTREAMIO
     66//inline OSTREAM & operator <<(OSTREAM & os, fglmDelem) { return os;};
     67//#endif
    6868
    6969// fglmzero(...):
  • kernel/walkProc.cc

    rad3aa7 r7ac612  
    253253        pperm= NULL;
    254254
    255     maFindPerm( sring->names, nvar, sring->parameter, npar,
    256                 dring->names, nvar, dring->parameter, npar, vperm, pperm,
     255    maFindPerm( sring->names, nvar, sring->extring->names, npar,
     256                dring->names, nvar, dring->extring->names, npar, vperm, pperm,
    257257                dring->ch);
    258258
  • libpolys/polys/monomials/maps.cc

    rad3aa7 r7ac612  
    195195void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p,
    196196                char **names,       int n,       char **par,       int nop,
    197                 int * perm, int *par_perm, int ch)
     197                int * perm, int *par_perm, n_coeffType ch)
    198198{
    199199  int i,j;
     
    214214    if ((perm[i+1]==0)&&(par!=NULL)
    215215        // do not consider par of Fq
    216          && (ch < 2))
     216         && (ch!=n_GF))
    217217    {
    218218      for(j=0; j<nop; j++)
     
    272272  maFindPerm(r->names, rVar(r), rParameter(r), rPar(r),
    273273             dst_r->names, rVar(dst_r),rParameter(dst_r), rPar(dst_r),
    274              perm,NULL, dst_r->cf->ch);
     274             perm,NULL, dst_r->cf->type);
    275275  poly res=p_PermPoly(p,perm,r,dst_r, nMap /*,par_perm,rPar(r)*/);
    276276  omFreeSize((ADDRESS)perm,(r->N+1)*sizeof(int));
  • libpolys/polys/monomials/maps.h

    rad3aa7 r7ac612  
    2828void maFindPerm(char **preim_names, int preim_n, char **preim_par, int preim_p,
    2929                char **names,       int n,       char **par,       int nop,
    30                 int * perm, int *par_perm, int ch);
     30                int * perm, int *par_perm, n_coeffType ch);
    3131poly pSubstPoly(poly p, int var, poly image);
    3232ideal  idSubstPoly(ideal id, int n, poly e);
  • libpolys/polys/monomials/ring.cc

    rad3aa7 r7ac612  
    11261126      maFindPerm(R1->names,  rVar(R1),  rParameter(R1),  rPar(R1),
    11271127                 sum->names, rVar(sum), rParameter(sum), rPar(sum),
    1128                  perm1, par_perm1, sum->cf->ch);
     1128                 perm1, par_perm1, sum->cf->type);
    11291129
    11301130      maFindPerm(R2->names,  rVar(R2),  rParameter(R2),  rPar(R2),
    11311131                 sum->names, rVar(sum), rParameter(sum), rPar(sum),
    1132                  perm2, par_perm2, sum->cf->ch);
     1132                 perm2, par_perm2, sum->cf->type);
    11331133
    11341134
     
    12311231    maFindPerm(r1->names,  rVar(r1),  rParameter(r1),  rPar(r1),
    12321232               sum->names, rVar(sum), rParameter(sum), rPar(sum),
    1233                perm1, par_perm1, sum->cf->ch);
     1233               perm1, par_perm1, sum->cf->type);
    12341234    nMapFunc nMap1 = n_SetMap(r1->cf,sum->cf);
    12351235    Q1 = idInit(IDELEMS(r1->qideal),1);
     
    12541254    maFindPerm(r2->names,  rVar(r2),  rParameter(r2),  rPar(r2),
    12551255               sum->names, rVar(sum), rParameter(sum), rPar(sum),
    1256                perm2, par_perm2, sum->cf->ch);
     1256               perm2, par_perm2, sum->cf->type);
    12571257    nMapFunc nMap2 = n_SetMap(r2->cf,sum->cf);
    12581258    Q2 = idInit(IDELEMS(r2->qideal),1);
Note: See TracChangeset for help on using the changeset viewer.