Changeset 9b29fa in git for libpolys/polys
- Timestamp:
- Aug 18, 2021, 8:39:14 PM (3 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
- Children:
- e1c59f805b1e25ffbe3c4f40b39d4b361fee2037
- Parents:
- d28095befe49d41be7cd3b72963b0f39b4bcd6cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
rd28095 r9b29fa 2283 2283 { 2284 2284 if (ph==NULL) return; 2285 if ( rField_is_Ring(r)) /*should not be called*/2285 if (nCoeff_is_Ring(r->cf)) /*should not be called*/ 2286 2286 { 2287 2287 if(!n_GreaterZero(pGetCoeff(ph),r->cf)) ph = p_Neg(ph,r); … … 2349 2349 return; 2350 2350 } 2351 if ( rField_is_Ring(r)) /*should not be called*/2351 if (nCoeff_is_Ring(r->cf)) /*should not be called*/ 2352 2352 { 2353 2353 if(!n_GreaterZero(pGetCoeff(ph),r->cf)) … … 2637 2637 if(TEST_OPT_CONTENTSB) return; 2638 2638 if (ph==NULL) return; 2639 if ( rField_is_Ring(r)) /*should not be called*/2639 if (nCoeff_is_Ring(r->cf)) /*should not be called*/ 2640 2640 { 2641 2641 return; … … 2940 2940 number d, h; 2941 2941 2942 if ( rField_is_Ring(r)) /*should not be called*/2942 if (nCoeff_is_Ring(r->cf)) /*should not be called*/ 2943 2943 { 2944 2944 if(!n_GreaterZero(pGetCoeff(p),r->cf)) p = p_Neg(p,r); … … 3063 3063 #endif 3064 3064 3065 if ( rField_is_Ring(r)) /*should not be called*/3065 if (nCoeff_is_Ring(r->cf)) /*should not be called*/ 3066 3066 { 3067 3067 if(!n_GreaterZero(pGetCoeff(ph),C)) … … 3816 3816 void p_Norm(poly p1, const ring r) 3817 3817 { 3818 if ( rField_is_Ring(r))3818 if (nCoeff_is_Ring(r->cf)) 3819 3819 { 3820 3820 if(!n_GreaterZero(pGetCoeff(p1),r->cf)) p1 = p_Neg(p1,r);
Note: See TracChangeset
for help on using the changeset viewer.