Changeset cfff43f in git for libpolys/coeffs/numbers.cc
- Timestamp:
- Mar 12, 2014, 10:24:14 AM (10 years ago)
- Branches:
- (u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
- Children:
- 61512d30240e4647a653e3178b446f24b9caf87a
- Parents:
- ab12db732777fc9ca1f9734d184c7e9d38ea9784
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/numbers.cc
rab12db rcfff43f 508 508 { 509 509 nInitCharTable=(cfInitCharProc*)omAlloc0( 510 nLastCoeffs*sizeof(cfInitCharProc));510 ((int)nLastCoeffs+1)*sizeof(cfInitCharProc)); 511 511 memcpy(nInitCharTable,nInitCharTableDefault, 512 ( nLastCoeffs-1)*sizeof(cfInitCharProc));512 ((int)nLastCoeffs)*sizeof(cfInitCharProc)); 513 513 } 514 514 else 515 515 { 516 516 nInitCharTable=(cfInitCharProc*)omReallocSize(nInitCharTable, 517 (( (int)nLastCoeffs)-1)*sizeof(cfInitCharProc),518 (( int)nLastCoeffs)*sizeof(cfInitCharProc));517 ((int)nLastCoeffs)*sizeof(cfInitCharProc), 518 (((int)nLastCoeffs)+1)*sizeof(cfInitCharProc)); 519 519 } 520 520
Note: See TracChangeset
for help on using the changeset viewer.