Changeset a1f17b in git for libpolys/polys/ext_fields/transext.cc
- Timestamp:
- Mar 20, 2015, 12:19:21 PM (9 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 1697dc3a51e8bd47a7d5ba881bd2c289db77aae7c37482ecbeafe4b1c2572f031ec6a0fd5b4d085b
- Parents:
- 0b51f6a84259fb2407bab08b6cd743bf83f0e420
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r0b51f6a ra1f17b 2334 2334 } 2335 2335 2336 number ntChineseRemainder(number *x, number *q,int rl, BOOLEAN sym, const coeffs cf)2336 number ntChineseRemainder(number *x, number *q,int rl, BOOLEAN sym,CFArray &inv_cache,const coeffs cf) 2337 2337 { 2338 2338 fraction result = (fraction)omAlloc0Bin(fractionObjectBin); … … 2343 2343 2344 2344 for(i=0;i<rl;i++) P[i]=p_Copy(NUM((fraction)(x[i])),cf->extRing); 2345 NUM(result)=p_ChineseRemainder(P,X,q,rl, cf->extRing);2345 NUM(result)=p_ChineseRemainder(P,X,q,rl,inv_cache,cf->extRing); 2346 2346 2347 2347 for(i=0;i<rl;i++) … … 2350 2350 if (P[i]==NULL) P[i]=p_One(cf->extRing); 2351 2351 } 2352 DEN(result)=p_ChineseRemainder(P,X,q,rl, cf->extRing);2352 DEN(result)=p_ChineseRemainder(P,X,q,rl,inv_cache,cf->extRing); 2353 2353 2354 2354 omFreeSize(X,rl*sizeof(number));
Note: See TracChangeset
for help on using the changeset viewer.