Changeset c8e030 in git


Ignore:
Timestamp:
Feb 8, 2012, 3:48:14 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
cc3240c506fdb572293019718b6e949f582d6108
Parents:
e71b679a2b45108ca67104be680aeeab6fb0b2b5
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-02-08 15:48:14+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-02-08 15:49:55+01:00
Message:
fix: normalization while mapping
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/transext.cc

    re71b67 rc8e030  
    10461046  assume(src == dst->extRing->cf);
    10471047  poly p = p_One(dst->extRing);
    1048   p_SetCoeff(p, n_Copy(a, src), dst->extRing);
     1048  number na=n_Copy(a, src);
     1049  n_Normalize(na, src);
     1050  p_SetCoeff(p, na, dst->extRing);
    10491051  fraction f = (fraction)omAlloc0Bin(fractionObjectBin);
    10501052  NUM(f) = p; DEN(f) = NULL; COM(f) = 0;
     
    12331235  return NULL;                                 /// default
    12341236}
     1237#if 0
     1238nMapFunc ntSetMap_T(const coeffs src, const coeffs dst)
     1239{
     1240  nMapFunc n=ntSetMap(src,dst);
     1241  if (n==ntCopyAlg) printf("n=ntCopyAlg\n");
     1242  else if (n==ntCopyMap) printf("n=ntCopyMap\n");
     1243  else if (n==ntMapUP) printf("n=ntMapUP\n");
     1244  else if (n==ntMap0P) printf("n=ntMap0P\n");
     1245  else if (n==ntMapP0) printf("n=ntMapP0\n");
     1246  else if (n==ntMap00) printf("n=ntMap00\n");
     1247  else if (n==NULL) printf("n=NULL\n");
     1248  else printf("n=?\n");
     1249  return n;
     1250}
     1251#endif
    12351252
    12361253void ntKillChar(coeffs cf)
Note: See TracChangeset for help on using the changeset viewer.