Changeset 1e351b3 in git for libpolys/polys/flintconv.cc


Ignore:
Timestamp:
Jul 8, 2019, 2:07:08 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
11cc5e9e0459f60e3740564f9982a3180ad57c07
Parents:
bc4eb794179fe80f037ef650a09e4a41d316208e84f0d81502771d37e63ee8041e613ac62d48668d
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2019-07-08 14:07:08+02:00
git-committer:
GitHub <noreply@github.com>2019-07-08 14:07:08+02:00
Message:
Merge pull request #938 from tthsqe12/parallel_flint_conversion

Parallel flint conversion
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/flintconv.cc

    rbc4eb7 r1e351b3  
    226226  int d=fmpq_poly_length(f);
    227227  poly p=NULL;
     228  fmpq_t c;
     229  fmpq_init(c);
    228230  for(int i=0; i<=d; i++)
    229231  {
    230     fmpq_t c;
    231     fmpq_init(c);
    232232    fmpq_poly_get_coeff_fmpq(c,f,i);
    233233    number n=convFlintNSingN(c,r->cf);
     
    238238    p=p_Add_q(p,pp,r);
    239239  }
     240  fmpq_clear(c);
    240241  p_Test(p,r);
    241242  return p;
Note: See TracChangeset for help on using the changeset viewer.