Changeset 8b46459 in git for libpolys/coeffs/longrat.cc


Ignore:
Timestamp:
Nov 25, 2011, 1:07:18 AM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
47b5d7aa0b4641c40dce245c8cdc8b3ecd0c8cfb
Parents:
a522916a7e6a9455b8b3b069cf64a8a507a5247f
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-25 01:07:18+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-25 14:03:06+01:00
Message:
MP_INT -> mpz_t

adaptation of libpolys/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.cc

    ra52291 r8b46459  
    297297    if ( n->s == 3 )
    298298    {
    299       MP_INT dummy;
    300       mpz_init_set( &dummy,n->z );
     299      mpz_t dummy;
     300      mpz_init_set( dummy,n->z );
    301301      term = make_cf( dummy );
    302302    }
     
    304304    {
    305305      // assume s==0 or s==1
    306       MP_INT num, den;
     306      mpz_t num, den;
    307307      On(SW_RATIONAL);
    308       mpz_init_set( &num, n->z );
    309       mpz_init_set( &den, n->n );
     308      mpz_init_set( num, n->z );
     309      mpz_init_set( den, n->n );
    310310      term = make_cf( num, den, ( n->s != 1 ));
    311311    }
Note: See TracChangeset for help on using the changeset viewer.