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


Ignore:
Timestamp:
Dec 5, 2013, 3:34:22 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
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/rmodulon.cc

    r6cce775 r45cc512  
    4747}
    4848
     49static char* nrnCoeffString(const coeffs r)
     50{
     51  char* s = (char*) omAlloc(7+11+2);
     52  sprintf(s,"integer,%lu",r->modExponent);
     53  return s;
     54}
    4955
    5056/* for initializing function pointers */
     
    6066     is a GMP number */
    6167  r->ch = mpz_get_ui(r->modNumber);
     68
     69  r->cfCoeffString = nrnCoeffString;
    6270
    6371  r->cfInit        = nrnInit;
Note: See TracChangeset for help on using the changeset viewer.