Changeset 9bb5457 in git for libpolys/coeffs/gnumpc.cc


Ignore:
Timestamp:
May 27, 2011, 2:56:51 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
2c7f28850c274452c6d4f324225864e2331412ed
Parents:
7af488ec51790060979537b35a03fb345e053f90
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-27 14:56:51+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:06+01:00
Message:
fixed warning about unused paramaters in coeffs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/gnumpc.cc

    r7af488e r9bb5457  
    3030#ifdef LDEBUG
    3131// not yet implemented
    32 BOOLEAN ngcDBTest(number a, const char *f, const int l, const coeffs r)
     32BOOLEAN ngcDBTest(number, const char *, const int, const coeffs r)
    3333{
    3434  assume( getCoeffType(r) == ID );
     
    5454{
    5555  assume( getCoeffType(r) == ID );
    56  
     56
    5757  gmp_complex* n= new gmp_complex( (long)i, (long)0 );
    58  
     58
    5959  return (number)n;
    6060}
     
    6666{
    6767  assume( getCoeffType(r) == ID );
    68  
     68
    6969  return (int)((gmp_complex*)i)->real();
    7070}
     
    105105{
    106106  assume( getCoeffType(r) == ID );
    107  
     107
    108108  gmp_complex* b= new gmp_complex( *(gmp_complex*)a );
    109109  return (number)b;
     
    170170{
    171171  assume( getCoeffType(R) == ID );
    172  
     172
    173173  gmp_complex* r= new gmp_complex( (*(gmp_complex*)a) * (*(gmp_complex*)b) );
    174174  return (number)r;
     
    414414
    415415
    416  
    417 /* 
     416
     417/*
    418418  //r->cfInitChar=nlInitChar;
    419419  r->cfKillChar=NULL;
     
    484484  else
    485485    n->complex_parameter = omStrDup( (char*) p );
    486    
     486
    487487  return FALSE;
    488488}
     
    553553
    554554  if ( from !=  NULL )
    555   { 
     555  {
    556556    b = new gmp_complex( *(gmp_complex*)from );
    557557  }
    558   return (number)b; 
     558  return (number)b;
    559559}
    560560
Note: See TracChangeset for help on using the changeset viewer.