Changeset 8c484e in git for coeffs/numbers.cc
- Timestamp:
- May 5, 2010, 3:05:12 PM (14 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 2336d0a674d92415a0e20e0b4abf6b1a96ab56e2
- Parents:
- 63c3a8df898418cfb9484633a8d9eb78c299a95c
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-05-05 15:05:12+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:51:39+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
coeffs/numbers.cc
r63c3a8 r8c484e 396 396 /*----------------------char. p----------------*/ 397 397 { 398 /* never again: 398 399 npInitChar(c,r); 399 400 n->cfInit = npInit; … … 417 418 n->nPower = npPower; 418 419 n->cfSetMap = npSetMap; 419 / * nName= ndName; */420 / *nSize = ndSize;*/420 // nName= ndName; 421 // nSize = ndSize; 421 422 #ifdef LDEBUG 422 423 n->nDBTest=npDBTest; … … 433 434 } 434 435 #endif 436 */ 437 r->cfInitChar=npInitChar; 438 npInitChar(r,c); 435 439 } 436 440 /* -------------- GF(p^m) -----------------------*/ … … 594 598 if (cf_root==r) cf_root=n->next; 595 599 r->cfDelete(&(r->nNULL),r); 600 if (r->cfKillChar!=NULL) r->cfKillChar(r); 601 /* was: 596 602 switch(r->type) 597 603 { 598 case n_Zp:599 #ifdef HAVE_DIV_MOD600 if (r->npInvTable!=NULL)601 omFreeSize( (void *)r->npInvTable,602 r->npPrimeM*sizeof(unsigned short) );603 #else604 if (r->npExpTable!=NULL)605 {606 omFreeSize( (void *)r->npExpTable,607 r->npPrimeM*sizeof(unsigned short) );608 omFreeSize( (void *)r->npLogTable,609 r->npPrimeM*sizeof(unsigned short) );610 }611 #endif612 break;613 604 case n_Zp_a: 614 605 case n_Q_a: … … 626 617 break; 627 618 } 619 */ 628 620 omFreeSize((void *)r, sizeof(n_Procs_s)); 629 621 r=NULL;
Note: See TracChangeset
for help on using the changeset viewer.