Ignore:
Timestamp:
Mar 20, 2012, 3:33:34 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
7e9f1298826e9e80c154aaa465935c0ba2acad38
Parents:
dd668fd21e0141dd6716d45d63f34e6ca84d230f
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-20 15:33:34+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:34+01:00
Message:
elimination of rMinpolyIsNULL in favour of nCoeff_is_algExt

fix rMinpolyIsNULL (idIs0)

TODO: remove rMinpolyIsNULL it completely!
File:
1 edited

Legend:

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

    rdd668f rbcfd11a  
    34573457  poly qq; /* the mapped monomial */
    34583458
     3459  assume(dst != NULL);
     3460  assume(dst->cf != NULL);
     3461 
    34593462  while (p != NULL)
    34603463  {
     
    34663469      number n = nMap(p_GetCoeff(p, oldRing), oldRing->cf, dst->cf);
    34673470
    3468       if ( (!rMinpolyIsNULL(dst)) && (rField_is_Zp_a(dst) || rField_is_Q_a(dst)) )
     3471      if ( nCoeff_is_algExt(dst->cf) )
    34693472        n_Normalize(n, dst->cf);
    34703473
     
    34833486      p_Test(aq, dst);
    34843487
    3485       if ( (!rMinpolyIsNULL(dst)) && (rField_is_Zp_a(dst) || rField_is_Q_a(dst)) )
    3486       {
     3488      if ( nCoeff_is_algExt(dst->cf) )
    34873489        p_Normalize(aq,dst);
    3488 
    3489       }
     3490     
    34903491      if (aq == NULL)
    34913492        p_SetCoeff(qq, n_Init(0, dst->cf),dst); // Very dirty trick!!!
     
    35863587        }
    35873588      }
    3588       if ( mapped_to_par && (!rMinpolyIsNULL(dst)) )
     3589      if ( mapped_to_par && nCoeff_is_algExt(dst->cf) )
    35893590      {
    35903591        number n = p_GetCoeff(qq, dst);
    3591         n_Normalize(n,dst->cf);
     3592        n_Normalize(n, dst->cf);
    35923593        p_GetCoeff(qq, dst) = n;
    35933594      }
Note: See TracChangeset for help on using the changeset viewer.