- Timestamp:
- Jun 7, 2012, 5:43:32 PM (12 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- f0b795a3ce2b873e7524b0af7df2ccd84a3fc628
- Parents:
- 6284186fbb128f1c5a0c99ff170cec4bb5afd5a3
- Location:
- libpolys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/bigintmat.cc
r628418 rbca341 15 15 #include <string.h> 16 16 17 #define BIMATELEM(M,I,J) (M)[ (M).index(I,J) ]17 //#define BIMATELEM(M,I,J) (M)[ (M).index(I,J) ] 18 18 19 19 bigintmat * bigintmat::transpose() -
libpolys/polys/ext_fields/algext.cc
r628418 rbca341 206 206 naTest(a); 207 207 poly aAsPoly = (poly)a; 208 if ( !p_IsConstant(aAsPoly, naRing)) return FALSE;208 if ((a==NULL) || (!p_IsConstant(aAsPoly, naRing))) return FALSE; 209 209 return n_IsOne(p_GetCoeff(aAsPoly, naRing), naCoeffs); 210 210 } … … 214 214 naTest(a); 215 215 poly aAsPoly = (poly)a; 216 if ( !p_IsConstant(aAsPoly, naRing)) return FALSE;216 if ((a==NULL) || (!p_IsConstant(aAsPoly, naRing))) return FALSE; 217 217 return n_IsMOne(p_GetCoeff(aAsPoly, naRing), naCoeffs); 218 218 } … … 600 600 p_Test((poly)reducer, naRing); 601 601 #endif 602 p_PolyDiv(p, reducer, FALSE, naRing); 602 if ((p!=NULL) && (p_GetExp(p,1,naRing)>=p_GetExp(reducer,1,naRing))) 603 { 604 p_PolyDiv(p, reducer, FALSE, naRing); 605 } 603 606 } 604 607
Note: See TracChangeset
for help on using the changeset viewer.