Changeset 8df5991 in git
- Timestamp:
- Dec 9, 2020, 1:51:10 PM (3 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
- Children:
- 4a1b76a2ee72e1a9605d599b5dbc8ca819d36de8
- Parents:
- fef0b200e27e566748aefee86ca6f0f32e2dd61b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys.cc
rfef0b20 r8df5991 42 42 return NULL; 43 43 } 44 if ((pNext(q)!=NULL)||rIs NCRing(r))44 if ((pNext(q)!=NULL)||rIsPluralRing(r)) 45 45 { /* This means that q != 0 consists of at least two terms*/ 46 46 if(p_GetComp(p,r)==0) … … 159 159 } 160 160 else 161 { /* This means that q != 0 consists of just one term */ 161 { /* This means that q != 0 consists of just one term, or LetterPlace */ 162 #ifdef HAVE_RINGS 163 if (pNext(q)!=NULL) 164 { 165 WerrorS("division over a coefficient domain only implemented for terms"); 166 return NULL; 167 } 168 #endif 162 169 return p_DivideM(p,q,r); 163 170 } … … 177 184 return NULL; 178 185 } 179 if ((pNext(q)!=NULL)||rIs NCRing(r))186 if ((pNext(q)!=NULL)||rIsPluralRing(r)) 180 187 { /* This means that q != 0 consists of at least two terms*/ 181 188 if(p_GetComp(p,r)==0) … … 295 302 or that r is over a coefficient ring. */ 296 303 #ifdef HAVE_RINGS 297 if (!rField_is_Domain(r))298 {299 WerrorS("division only defined over coefficient domains");300 return NULL;301 }302 304 if (pNext(q)!=NULL) 303 305 {
Note: See TracChangeset
for help on using the changeset viewer.