Changeset 87343b in git for libpolys/polys/ext_fields
- Timestamp:
- Feb 20, 2013, 10:28:04 PM (11 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 0723d52f38b257cac43d6e4c57aa7a5d243f5002
- Parents:
- 628f663dc4f87ee80a30f2fabcac34fba9b2b144
- git-author:
- Martin Lee <martinlee84@web.de>2013-02-20 22:28:04+01:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-02-21 10:18:19+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
r628f663 r87343b 921 921 #endif 922 922 923 number naCopyExt(number a, const coeffs src, const coeffs dst) 924 { 923 number naCopyTrans2AlgExt(number a, const coeffs src, const coeffs dst) 924 { 925 assume (nCoeff_is_transExt (src)); 926 assume (nCoeff_is_algExt (dst)); 925 927 fraction fa=(fraction)a; 928 assume( rSamePolyRep(src->extRing, dst->extRing) ); 926 929 poly p = p_Copy(NUM(fa),src->extRing); 927 assume( rSamePolyRep(src->extRing, dst->extRing) );928 930 definiteReduce(p, dst->extRing->qideal->m[0], dst); 931 assume (p_Test (p, dst->extRing)); 929 932 return (number)p; 930 933 } … … 1003 1006 return ndCopyMap; // naCopyMap; /// Q(a) --> Q(a) 1004 1007 else 1005 return naCopy Ext;1008 return naCopyTrans2AlgExt; 1006 1009 } 1007 1010 else … … 1016 1019 return ndCopyMap; // naCopyMap; /// Z/p(a) --> Z/p(a) 1017 1020 else 1018 return naCopy Ext;1021 return naCopyTrans2AlgExt; 1019 1022 } 1020 1023 else
Note: See TracChangeset
for help on using the changeset viewer.