Changeset 603ac7a in git


Ignore:
Timestamp:
Feb 22, 2013, 10:36:48 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cbf866d4f8c3861325311c042cb2033c053453b2')
Children:
21b9ef8e44d99ebb4e5d2eaf4fdf54444c59cc6b
Parents:
2e2c67897e034b7ffa5b8a0dda72431cff944d4a
Message:
fix: add P_Normalize to definiteGcdCancellation/ntNormalize
File:
1 edited

Legend:

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

    r2e2c67 r603ac7a  
    10911091    p_Delete(&DEN(f), ntRing); DEN(f) = NULL;
    10921092    COM(f) = 0;
    1093   } else
     1093  }
     1094  else
    10941095  {
    10951096    if (COM(f) > BOUND_COMPLEXITY)
     
    11051106  }
    11061107
    1107 
    1108   ntTest(a); // !!!!????
     1108  ntTest(a);
    11091109}
    11101110
     
    11171117  fraction f = (fraction)a;
    11181118
     1119  if (IS0(a)) return;
     1120  if (NUM(f)!=NULL) p_Normalize(NUM(f), ntRing);
     1121  if (DEN(f)!=NULL) p_Normalize(DEN(f), ntRing);
    11191122  if (!simpleTestsHaveAlreadyBeenPerformed)
    11201123  {
    1121     if (IS0(a)) return;
    11221124    if (DENIS1(f) || NUMIS1(f)) { COM(f) = 0; return; }
    11231125
Note: See TracChangeset for help on using the changeset viewer.