Changeset e48f702 in git for kernel/fast_mult.cc
- Timestamp:
- May 10, 2005, 3:24:00 PM (19 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ec8a6b60305edbff1b9d4efb76f18e4f2fb506de
- Parents:
- 9d39fe2131fa89a739cbed0a208e9cfc11e3bc2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/fast_mult.cc
r9d39fe re48f702 311 311 } 312 312 int field_size=pot_max+1; 313 int* int_pot_array=(int*) om alloc(field_size*sizeof(int));314 poly* pot_array=(poly*) om alloc(field_size*sizeof(poly));313 int* int_pot_array=(int*) omAlloc(field_size*sizeof(int)); 314 poly* pot_array=(poly*) omAlloc(field_size*sizeof(poly)); 315 315 int i; 316 316 int pot=1; … … 540 540 Werror("not implemented for so small lenght of f, recursion fails"); 541 541 // number null_number=n_Init(0,r); 542 number* facult=(number*) om alloc((n+1)*sizeof(number));542 number* facult=(number*) omAlloc((n+1)*sizeof(number)); 543 543 facult[0]=n_Init(1,r); 544 544 int i; … … 554 554 kBucketInit(erg_bucket,NULL,0); 555 555 const int f_len=pLength(f); 556 int* exp=(int*)om alloc(f_len*sizeof(int));556 int* exp=(int*)omAlloc(f_len*sizeof(int)); 557 557 //poly f_terms[f_len]; 558 poly* f_terms=(poly*)om alloc(f_len*sizeof(poly));559 poly** term_potences=(poly**) om alloc(f_len*sizeof(poly*));558 poly* f_terms=(poly*)omAlloc(f_len*sizeof(poly)); 559 poly** term_potences=(poly**) omAlloc(f_len*sizeof(poly*)); 560 560 561 561 poly f_iter=f; … … 565 565 } 566 566 for(i=0;i<f_len;i++){ 567 term_potences[i]=(poly*)om alloc((n+1)*sizeof(poly));567 term_potences[i]=(poly*)omAlloc((n+1)*sizeof(poly)); 568 568 term_potences[i][0]=p_ISet(1,r); 569 569 int j;
Note: See TracChangeset
for help on using the changeset viewer.