Changeset d12f186 in git
 Timestamp:
 Jul 7, 2011, 11:18:50 AM (12 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
 Children:
 44d898208ddc75d14a68b3bf09b8a1971b2ee1f6
 Parents:
 6c19d854882ab99fd19b9b972a32606106c2f2ee
 gitauthor:
 Frank Seelisch <seelisch@mathematik.unikl.de>20110707 11:18:50+02:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 12:39:12+01:00
 Location:
 libpolys
 Files:

 3 edited
Legend:
 Unmodified
 Added
 Removed

libpolys/coeffs/coeffs.h
r6c19d8 rd12f186 317 317 318 318 /// conversion to int; 0 if not possible 319 static inline int n_Int(number n,const coeffs r)319 static inline int n_Int(number &n, const coeffs r) 320 320 { assume(r != NULL); assume(r>cfInt!=NULL); return r>cfInt(n,r); } 321 321 
libpolys/coeffs/longrat.cc
r6c19d8 rd12f186 221 221 everything is computed correctly and no seg fault appears. 222 222 Maybe the test is not appropriate in this case. */ 223 //omCheckIf(omCheckAddrSize(a,sizeof(*a)), return FALSE);223 omCheckIf(omCheckAddrSize(a,sizeof(*a)), return FALSE); 224 224 if (a>debug!=123456) 225 225 { 
libpolys/polys/ext_fields/transext.cc
r6c19d8 rd12f186 591 591 if (!p_IsConstant(DEN(f), ntRing)) 592 592 { /* step (1); see documentation of this procedure above */ 593 p_Normalize(NUM(f), ntRing); 594 p_Normalize(DEN(f), ntRing); 593 595 number lcmOfDenominators = n_Init(1, ntCoeffs); 594 596 number c; number tmp; … … 616 618 { /* multiply NUM(f) and DEN(f) with lcmOfDenominators */ 617 619 NUM(f) = p_Mult_nn(NUM(f), lcmOfDenominators, ntRing); 620 p_Normalize(NUM(f), ntRing); 618 621 DEN(f) = p_Mult_nn(DEN(f), lcmOfDenominators, ntRing); 622 p_Normalize(DEN(f), ntRing); 619 623 } 620 624 n_Delete(&lcmOfDenominators, ntCoeffs); … … 646 650 ntCoeffs); 647 651 NUM(f) = p_Mult_nn(NUM(f), inverseOfGcdOfCoefficients, ntRing); 652 p_Normalize(NUM(f), ntRing); 648 653 DEN(f) = p_Mult_nn(DEN(f), inverseOfGcdOfCoefficients, ntRing); 654 p_Normalize(DEN(f), ntRing); 649 655 n_Delete(&inverseOfGcdOfCoefficients, ntCoeffs); 650 656 }
Note: See TracChangeset
for help on using the changeset viewer.