Ignore:
Timestamp:
Sep 27, 2011, 6:06:45 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
de7521eef6abc64c1312e46961fc93fb053d9bd5
Parents:
c7aad03a695808dc3f5aaaa108a93dbc905bf922
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-27 18:06:45+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:38+01:00
Message:
fix: n?SetMap should return ndCopyMap for equal coeffs
File:
1 edited

Legend:

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

    rc7aad0 rc14846c  
    557557}
    558558
     559#if 0
    559560/* assumes that either src = Q(a), dst = Q(a), or
    560561                       src = Z/p(a), dst = Z/p(a)     */
     
    563564  return naCopy(a, dst);
    564565}
     566#endif
    565567
    566568number naCopyExt(number a, const coeffs src, const coeffs dst)
     
    639641    {
    640642      if (src->type==n_algExt)
    641          return naCopyMap;                       /// Q(a)   --> Q(a)
     643         return ndCopyMap; // naCopyMap;         /// Q(a)   --> Q(a)
    642644      else
    643645         return naCopyExt;
     
    652654    {
    653655      if (src->type==n_algExt)
    654         return naCopyMap;                        /// Z/p(a) --> Z/p(a)
     656        return ndCopyMap; // naCopyMap;          /// Z/p(a) --> Z/p(a)
    655657      else
    656658         return naCopyExt;
Note: See TracChangeset for help on using the changeset viewer.