Changeset 90e49f7 in git


Ignore:
Timestamp:
Jul 4, 2013, 11:16:08 AM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
778b36f82fde6f9f7062de67944b7085da287995
Parents:
8487b7e1cd9828125e032e02b07df6aa8ad675f6
Message:
chg: simplified nlNormalize

from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.cc

    r8487b7 r90e49f7  
    11501150      if (mpz_cmp_si(gcd,(long)1)!=0)
    11511151      {
    1152         mpz_t r;
    1153         mpz_init(r);
    1154         MPZ_EXACTDIV(r,x->z,gcd);
    1155         mpz_set(x->z,r);
    1156         MPZ_EXACTDIV(r,x->n,gcd);
    1157         mpz_set(x->n,r);
    1158         mpz_clear(r);
     1152        MPZ_EXACTDIV(x->z,x->z,gcd);
     1153        MPZ_EXACTDIV(x->n,x->n,gcd);
    11591154        if (mpz_cmp_si(x->n,(long)1)==0)
    11601155        {
Note: See TracChangeset for help on using the changeset viewer.