Changeset 4cbe5d in git for Singular/ring.cc
- Timestamp:
- Feb 8, 2001, 1:55:52 PM (23 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d609e144b7d60f81b025159808b83332ba77c8c3
- Parents:
- 6dc21ddd084cffca4919c928d38ed7296e218e1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ring.cc
r6dc21d r4cbe5d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.15 8 2001-01-31 19:08:26Singular Exp $ */4 /* $Id: ring.cc,v 1.159 2001-02-08 12:55:52 Singular Exp $ */ 5 5 6 6 /* … … 125 125 126 126 // clean up history 127 if (((sLastPrinted.rtyp>BEGIN_RING) && (sLastPrinted.rtyp<END_RING)) 128 || ((sLastPrinted.rtyp==LIST_CMD)&&(lRingDependend((lists)sLastPrinted.data)))) 129 { 130 sLastPrinted.CleanUp(); 131 memset(&sLastPrinted,0,sizeof(sleftv)); 132 } 127 if (sLastPrinted.RingDependend()) 128 { 129 sLastPrinted.CleanUp(); 130 memset(&sLastPrinted,0,sizeof(sleftv)); 131 } 133 132 134 133 /*------------ change the global ring -----------------------*/ … … 145 144 146 145 if (ppNoether!=NULL) pDelete(&ppNoether); 147 if (((sLastPrinted.rtyp>BEGIN_RING) && (sLastPrinted.rtyp<END_RING)) || 148 ((sLastPrinted.rtyp==LIST_CMD)&&(lRingDependend((lists)sLastPrinted.data)))) 149 146 if (sLastPrinted.RingDependend()) 150 147 { 151 148 sLastPrinted.CleanUp(); … … 596 593 R->float_len = SHORT_REAL_LENGTH; 597 594 R->float_len2 = SHORT_REAL_LENGTH; 598 } 595 } 599 596 600 597 /* names and number of variables-------------------------------------*/ … … 876 873 } 877 874 if (ppNoether!=NULL) pDelete(&ppNoether); 878 if (((sLastPrinted.rtyp>BEGIN_RING) && (sLastPrinted.rtyp<END_RING)) || 879 ((sLastPrinted.rtyp==LIST_CMD)&&(lRingDependend((lists)sLastPrinted.data)))) 875 if (sLastPrinted.RingDependend()) 880 876 { 881 877 sLastPrinted.CleanUp(); 882 878 memset(&sLastPrinted,0,sizeof(sleftv)); 879 } 880 if ((myynest>0) && (iiRETURNEXPR[myynest].RingDependend())) 881 { 882 WerrorS("return value depends on local ring variable (export missing ?)"); 883 iiRETURNEXPR[myynest].CleanUp(); 883 884 } 884 885 currRing=NULL;
Note: See TracChangeset
for help on using the changeset viewer.