Changeset 2e4de3d in git
- Timestamp:
- Jan 13, 2006, 8:35:48 PM (18 years ago)
- Branches:
- (u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
- Children:
- c6022d8f25317f2f6b7390478a1df53933e9e351
- Parents:
- cea6f37c01957588684897357ff64b4850b3dc6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kbuckets.cc
rcea6f3 r2e4de3d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kbuckets.cc,v 1.1 7 2006-01-13 18:10:04 wienandExp $ */4 /* $Id: kbuckets.cc,v 1.18 2006-01-13 19:35:48 bricken Exp $ */ 5 5 6 6 #include "mod2.h" … … 1105 1105 if (rField_is_Zp(r)) 1106 1106 return TRUE; 1107 1107 if (r->parameter==NULL) 1108 { 1109 if (r->cf->nSize(n)==1) 1110 return TRUE; 1111 else 1112 return FALSE; 1113 } 1108 1114 //if (r->parameter!=NULL) 1109 1115 number one=n_Init(1,r); … … 1123 1129 void kBucketSimpleContent(kBucket_pt bucket) 1124 1130 { 1131 ring r=bucket->bucket_ring; 1125 1132 int i; 1126 1133 //PrintS("HHHHHHHHHHHHH"); … … 1136 1143 return; 1137 1144 } 1145 for (i=0;i<=MAX_BUCKET;i++) 1146 { 1147 //if ((bucket->buckets[i]!=NULL) && (bucket->coef[i]!=NULL)) 1148 // PrintS("H2H2H2"); 1149 if (i==0) 1150 { 1151 assume(bucket->buckets[i]==NULL); 1152 } 1153 if ((bucket->buckets[i]!=NULL) && (nIsPseudoUnit(p_GetCoeff(bucket->coef[i],r),r))) 1154 1155 return; 1156 } 1138 1157 //return; 1139 ring r=bucket->bucket_ring;1158 1140 1159 number coef=n_Init(0,r); 1141 1160 //ATTENTION: will not work correct for GB over ring
Note: See TracChangeset
for help on using the changeset viewer.