Changeset 45cc512 in git for libpolys/coeffs/modulop.cc


Ignore:
Timestamp:
Dec 5, 2013, 3:34:22 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
Children:
0acf3e38387201ff9fd3220d3febd9296fda35dd
Parents:
6cce775fcf124d803afe198a1cae685953241af3
Message:
chg: rCharstr is now a wrapper for r->cf->cfCoeffString

fixes also: charstr for integer,2,3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/modulop.cc

    r6cce775 r45cc512  
    425425}
    426426
     427static char* npCoeffString(const coeffs r)
     428{
     429  char *s=(char*)omAlloc(11);
     430  snprintf(s,11,"%d",r->ch);
     431  return s;
     432}
     433
    427434BOOLEAN npInitChar(coeffs r, void* p)
    428435{
     
    440447  r->cfKillChar=npKillChar;
    441448  r->nCoeffIsEqual=npCoeffsEqual;
     449  r->cfCoeffString=npCoeffString;
    442450
    443451  r->cfMult  = npMult;
Note: See TracChangeset for help on using the changeset viewer.