Changeset a3d407 in git
- Timestamp:
- Jul 6, 2010, 12:31:41 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 92080408874be46b8fb117a4d03d6a4bc4f8d921
- Parents:
- 9718cd420b91cd6f3027a8cfa87096bc8a883b1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys-impl.cc
r9718cd4 ra3d407 137 137 } 138 138 139 140 int rComp0_Func(poly p1,poly p2)141 {142 int i;143 for(i=0; i< currRing->CmpL_Size;i++)144 {145 if (p1->exp[i] != p2->exp[i])146 {147 if (p1->exp[i] > p2->exp[i])148 return currRing->ordsgn[i];149 else150 return -currRing->ordsgn[i];151 }152 }153 return 0;154 }155 156 #ifdef PDEBUG157 int rComp0(poly p1,poly p2)158 {159 int i;160 for(i=0; i<currRing->CmpL_Size;i++)161 {162 if (p1->exp[i] != p2->exp[i])163 {164 if (p1->exp[i] > p2->exp[i])165 return currRing->ordsgn[i];166 else167 return -currRing->ordsgn[i];168 }169 }170 return 0;171 }172 #endif173 174 139 #endif // POLYS_IMPL_CC
Note: See TracChangeset
for help on using the changeset viewer.