Changeset 6b16a7 in git


Ignore:
Timestamp:
Sep 6, 2021, 4:58:18 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
d650757a3e3d0b4ab9959f6c362f6c90a62fddb8
Parents:
a6a6582eb185fcfc0c4eb4da20eeaf50d5ad70e5
Message:
compiler warnings, typo
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • factory/FLINTconvert.cc

    ra6a6582 r6b16a7  
    479479
    480480CanonicalForm
    481 convertFq_nmod_t2FacCF (const fq_nmod_t poly, const Variable& alpha, const fq_nmod_ctx_t ctx)
     481convertFq_nmod_t2FacCF (const fq_nmod_t poly, const Variable& alpha, const fq_nmod_ctx_t /*ctx*/)
    482482{
    483483  return convertnmod_poly_t2FacCF (poly, alpha);
  • factory/fac_multihensel.cc

    ra6a6582 r6b16a7  
    2323
    2424static void
    25 extgcdrest ( const CanonicalForm & a, const CanonicalForm & b, const CanonicalForm & s, const CanonicalForm & t, const CanonicalForm & c, CanonicalForm & S, CanonicalForm & T, const modpk & pk )
     25extgcdrest ( const CanonicalForm & a, const CanonicalForm & b, const CanonicalForm & s, const CanonicalForm & t, const CanonicalForm & c, CanonicalForm & S, CanonicalForm & T, const modpk & /*pk*/ )
    2626{
    2727    CanonicalForm sigma = s * c, tau = t * c;
     
    324324
    325325bool
    326 Hensel ( const CanonicalForm & U, CFArray & G, const CFArray & lcG, const Evaluation & A, const modpk & bound, const Variable & x )
     326Hensel ( const CanonicalForm & U, CFArray & G, const CFArray & lcG, const Evaluation & A, const modpk & bound, const Variable & /*x*/ )
    327327{
    328328    DEBINCLEVEL( cerr, "Hensel" );
  • libpolys/coeffs/numbers.cc

    ra6a6582 r6b16a7  
    123123static BOOLEAN ndIsUnit_Field(number a, const coeffs r)
    124124{ return !r->cfIsZero(a,r); }
    125 static number ndGetUnit_Ring(number a, const coeffs r)
     125static number ndGetUnit_Ring(number, const coeffs r)
    126126{ return r->cfInit(1,r); }
    127127#ifdef LDEBUG
     
    414414    n->cfDivBy = ndDivBy;
    415415    n->cfExtGcd = ndExtGcd;
    416     //n->cfGetUnit = ndGetUnit;
     416    //n->cfGetUnit = ndGetUnit_Ring;// set afterwards
    417417#endif
    418418
     
    445445      else             n->cfIsUnit=ndIsUnit_Ring;
    446446    }
    447     #ifdef HAVE_RING
     447    #ifdef HAVE_RINGS
    448448    if (n->cfGetUnit==NULL)
    449449    {
  • libpolys/coeffs/rmodulo2m.cc

    ra6a6582 r6b16a7  
    2727{
    2828  if ((((long)a<0L) || ((long)a>(long)r->mod2mMask))
    29   && (r->mod2mMask!=-1))
     29  && (r->mod2mMask!= ~0L))
    3030  {
    3131    Print("wrong mod 2^n number %ld (m:%ld) at %s,%d\n",(long)a,(long)r->mod2mMask,f,l);
  • libpolys/coeffs/rmodulon.cc

    ra6a6582 r6b16a7  
    768768}
    769769#endif
    770 void nrnWrite (number a, const coeffs cf)
     770void nrnWrite (number a, const coeffs /*cf*/)
    771771{
    772772  char *s,*z;
Note: See TracChangeset for help on using the changeset viewer.