Changeset dc42daf in git for kernel


Ignore:
Timestamp:
Feb 21, 2013, 7:13:50 PM (11 years ago)
Author:
Claus Fieker <fieker@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5693d74c7e74fb28bc22148699aebb6524ded48c
Parents:
892dd80edda39f846824ca997ef834ad6d19f748
git-author:
Claus Fieker <fieker@erbsenstein.(none)>2013-02-21 19:13:50+01:00
git-committer:
Claus Fieker <fieker@erbsenstein.(none)>2013-02-22 16:40:29+01:00
Message:
an attempt to introduce better normalization for polynomials over number fields. Seems to work well in selected examples...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kInline.h

    r892dd8 rdc42daf  
    456456    {
    457457      if (t_p != NULL)
    458         {
    459           p_Cleardenom(t_p, tailRing);
    460           pSetCoeff0(p, pGetCoeff(t_p));
    461         }
     458        {
     459          p_ProjectiveUnique(t_p, tailRing);
     460          pSetCoeff0(p, pGetCoeff(t_p));
     461        }
    462462      else
    463         {
    464           p_Cleardenom(p, currRing);
    465         }
     463        {
     464#ifdef HAVE_RATGRING
     465          p_ProjectiveUnique(p, currRing);
     466#else
     467          p_ProjectiveUnique(p, currRing);
     468#endif
     469        }
    466470    }
    467471}
Note: See TracChangeset for help on using the changeset viewer.