Changeset a507140 in git for libpolys/coeffs/ffields.cc
- Timestamp:
- May 10, 2020, 5:39:11 PM (4 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
- Children:
- f050a38f7d4a93811fa78a1a7cebd7b3a35fc044fe09a23b169ca576a8128e614973bc79bcfec5d7
- Parents:
- 6dd33c01a9c354dd3b89fe045bffa9b635e23954
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/ffields.cc
r6dd33c ra507140 782 782 } 783 783 784 static char* nfCoeffString(const coeffs r)785 {786 const char *p=n_ParameterNames(r)[0];787 char *s=(char*)omAlloc(11+1+strlen(p));788 sprintf(s,"%d,%s",r->m_nfCharQ,p);789 return s;790 }791 792 784 static char* nfCoeffName(const coeffs r) 793 785 { … … 795 787 const char *p=n_ParameterNames(r)[0]; 796 788 nfCoeffName_buf[31]='\0'; 797 snprintf(nfCoeffName_buf,31," ZZ/%d[%s]",r->m_nfCharQ,p);789 snprintf(nfCoeffName_buf,31,"%d,%s",r->m_nfCharQ,p); 798 790 return nfCoeffName_buf; 799 791 } … … 836 828 r->cfKillChar=nfKillChar; 837 829 r->nCoeffIsEqual=nfCoeffIsEqual; 838 r->cfCoeffString=nfCoeffString;839 830 r->cfCoeffName=nfCoeffName; 840 831
Note: See TracChangeset
for help on using the changeset viewer.