Changeset 703ad1 in git
- Timestamp:
- Jun 7, 1999, 5:46:05 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 00b574855c4c3b834269f6a81fed2006d7408463
- Parents:
- d84e0ad8a53e2f96a962252957ddf9d3d579459b
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rd84e0a r703ad1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.1 49 1999-06-04 13:07:30 pohlExp $ */4 /* $Id: iparith.cc,v 1.150 1999-06-07 15:46:05 obachman Exp $ */ 5 5 6 6 /* … … 2698 2698 { 2699 2699 res->data=(char *)syConvList((lists)v->Data()); 2700 return FALSE; 2700 if (res->data != NULL) 2701 return FALSE; 2702 else 2703 return TRUE; 2701 2704 } 2702 2705 static BOOLEAN jjLEADCOEF(leftv res, leftv v) -
Singular/syz1.cc
rd84e0a r703ad1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: syz1.cc,v 1.3 6 1998-11-21 13:55:43 siebertExp $ */4 /* $Id: syz1.cc,v 1.37 1999-06-07 15:46:02 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: resolutions … … 2440 2440 2441 2441 resolvente fr = liFindRes(li,&(result->length),&typ0,&(result->weights)); 2442 result->fullres = (resolvente)Alloc0((result->length+1)*sizeof(ideal)); 2443 for (int i=result->length-1;i>=0;i--) 2444 { 2445 if (fr[i]!=NULL) 2446 result->fullres[i] = idCopy(fr[i]); 2447 } 2448 result->list_length=result->length; 2449 Free((ADDRESS)fr,(result->length)*sizeof(ideal)); 2442 if (fr != NULL) 2443 { 2444 2445 result->fullres = (resolvente)Alloc0((result->length+1)*sizeof(ideal)); 2446 for (int i=result->length-1;i>=0;i--) 2447 { 2448 if (fr[i]!=NULL) 2449 result->fullres[i] = idCopy(fr[i]); 2450 } 2451 result->list_length=result->length; 2452 Free((ADDRESS)fr,(result->length)*sizeof(ideal)); 2453 } 2454 else 2455 { 2456 Free (result, sizeof(ssyStrategy)); 2457 result = NULL; 2458 } 2450 2459 if (toDel) li->Clean(); 2451 2460 return result;
Note: See TracChangeset
for help on using the changeset viewer.