Changeset 0acf3e in git for libpolys/coeffs/gnumpc.cc


Ignore:
Timestamp:
Dec 5, 2013, 4:29:00 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
867a0d61fbf7341926f962e8afb0e93257ff5745
Parents:
45cc51208cc1a51b7dc57d423a1031cd515be1c2
Message:
fix: more charstr stuff (tr.237)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/gnumpc.cc

    r45cc512 r0acf3e  
    461461{
    462462  const char *p=n_ParameterNames(r)[0];
    463   char *s=(char*)omAlloc(21+strlen(p));
    464   sprintf(s,"complex,%d,%s",r->float_len,p);
     463  char *s=(char*)omAlloc(31+strlen(p));
     464  sprintf(s,"complex,%d,%d,%s",r->float_len,r->float_len2,p);
    465465  return s;
    466466}
Note: See TracChangeset for help on using the changeset viewer.