Changeset c9824e in git for factory/FLINTconvert.cc


Ignore:
Timestamp:
Jul 25, 2019, 11:27:25 AM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
Children:
3d5b277e2651a792f826b544d03d7179c438dba0
Parents:
e1d7e8a2ccd0e91e13ec17795e58ef965f05f210
Message:
chg: ..._mpoly_init3 not needed in FLINTconvert.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/FLINTconvert.cc

    re1d7e8 rc9824e  
    692692  convFactoryPFlintMP(F,f,ctx,N);
    693693  convFactoryPFlintMP(G,g,ctx,N);
    694   nmod_mpoly_init3(res,lF+lG,bits+1,ctx);
     694  nmod_mpoly_init(res,ctx);
    695695  nmod_mpoly_mul(res,f,g,ctx);
    696696  nmod_mpoly_clear(g,ctx);
     
    713713  convFactoryPFlintMP(F,f,ctx,N);
    714714  convFactoryPFlintMP(G,g,ctx,N);
    715   fmpq_mpoly_init3(res,lF+lG,bits+1,ctx);
     715  fmpq_mpoly_init(res,ctx);
    716716  fmpq_mpoly_mul(res,f,g,ctx);
    717717  fmpq_mpoly_clear(g,ctx);
     
    737737  convFactoryPFlintMP(F,f,ctx,N);
    738738  convFactoryPFlintMP(G,g,ctx,N);
    739   nmod_mpoly_init3(res,lf,bits,ctx);
     739  nmod_mpoly_init(res,ctx);
    740740  int ok=nmod_mpoly_gcd(res,f,g,ctx);
    741741  nmod_mpoly_clear(g,ctx);
Note: See TracChangeset for help on using the changeset viewer.