Changeset bff7f6 in git
- Timestamp:
- Nov 7, 2017, 1:53:12 PM (6 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 63b86a1dcf2f3f960fbc42e28042aafc8bccbdb7
- Parents:
- 75958aa02cc3de1feb3f010173cbb8e32c90218f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r75958a rbff7f6 390 390 if(strcmp(sys_cmd,"rcolon") == 0) 391 391 { 392 ideal i; poly w; int lV; 393 if((h != NULL)&&(h->Typ() == IDEAL_CMD)) 394 i = (ideal)h->Data(); 395 else 396 { 397 WerrorS("nc_Hilb:ideal expected"); 392 const short t1[]={3,IDEAL_CMD,POLY_CMD,INT_CMD}; 393 if (iiCheckTypes(h,t1,1)) 394 { 395 ideal i = (ideal)h->Data(); 396 h = h->next; 397 poly w=(poly)h->Data(); 398 h = h->next; 399 int lV = (int)(long)h->Data(); 400 res->rtyp = IDEAL_CMD; 401 res->data = RightColonOperation(i, w, lV); 402 return(FALSE); 403 } 404 else 398 405 return TRUE; 399 }400 h = h->next;401 if((h != NULL)&&(h->Typ() == POLY_CMD))402 w=(poly)h->Data();403 else404 {405 WerrorS("nc_Hilb:monomial expected");406 return TRUE;407 }408 h = h->next;409 if((h != NULL)&&(h->Typ() == INT_CMD))410 lV = (int)(long)h->Data();411 else412 {413 WerrorS("nc_Hilb:int expected");414 return TRUE;415 }416 res->rtyp = IDEAL_CMD;417 res->data = RightColonOperation(i, w, lV);418 return(FALSE);419 406 } 420 407 else
Note: See TracChangeset
for help on using the changeset viewer.