Changeset 2b7f4e in git for libpolys/coeffs
- Timestamp:
- Aug 12, 2011, 8:34:32 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- e7e815050f6c74d4fc691c162a9a76687b36c5c3
- Parents:
- 3da9f4eecf506fa238a5377a07d73051db6ceb9b
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-12 20:34:32+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:30:46+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/ffields.cc
r3da9f4 r2b7f4e 813 813 assume( getCoeffType(r) == n_GF ); 814 814 815 GFInfo* p = (GFInfo *)(parameter); 815 GFInfo* p = (GFInfo *)(parameter); 816 assume (p->GFChar > 0); 817 assume (p->GFDegree > 0); 818 816 819 const char * name = p->GFPar_name; 820 817 821 r->m_nfCharQ = 0; 818 822 r->m_nfCharP = p->GFChar; 819 823 r->m_nfCharQ1 = 0; 820 r->m_nfParameter= strdup(name); //TODO use omAlloc for allocating memory and use strcpy?824 r->m_nfParameter= omStrDup(name); //TODO use omAlloc for allocating memory and use strcpy? 821 825 r->m_nfPlus1Table= NULL; 822 826 823 827 r->has_simple_Alloc=TRUE; 824 828 r->has_simple_Inverse=TRUE; 825 826 assume (p->GFChar > 0);827 assume (p->GFDegree > 0);828 829 829 830 if(p->GFChar > (2<<15))
Note: See TracChangeset
for help on using the changeset viewer.