Changeset af6ec6 in git
- Timestamp:
- Mar 14, 2017, 4:28:46 PM (7 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- eb793a5c2740464a528b3b59ff11e841245a19a5
- Parents:
- 17c3150d26605e770ae78cd36b6201409f4f1ab3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r17c315 raf6ec6 2300 2300 // 0: string: integer 2301 2301 // no further entries --> Z 2302 mpz_ ptr modBase = NULL;2302 mpz_t modBase; 2303 2303 unsigned int modExponent = 1; 2304 2304 2305 modBase = (mpz_ptr) omAlloc(sizeof(mpz_t));2306 2305 if (L->nr == 0) 2307 2306 { … … 2384 2383 R->cf=nInitChar(n_Zn,(void*) &info); 2385 2384 } 2385 mpz_clear(modBase); 2386 2386 } 2387 2387 #endif … … 5518 5518 ring rInit(leftv pn, leftv rv, leftv ord) 5519 5519 { 5520 #ifdef HAVE_RINGS5521 //unsigned int ringtype = 0;5522 mpz_ptr modBase = NULL;5523 unsigned int modExponent = 1;5524 #endif5525 5520 int float_len=0; 5526 5521 int float_len2=0; … … 5691 5686 // TODO: change to use coeffs_BIGINT!? 5692 5687 mpz_t modBase; 5688 unsigned int modExponent = 1; 5693 5689 mpz_init_set_si(modBase, 0); 5694 5690 if (pn->next!=NULL)
Note: See TracChangeset
for help on using the changeset viewer.