Changeset af42ca in git for Singular/extra.cc
- Timestamp:
- Jan 29, 2003, 5:13:12 PM (21 years ago)
- Branches:
- (u'spielwiese', '6e5adcba05493683b94648c659a729c189812c77')
- Children:
- cc86cd3b37e46f65f8f2f4c0bea2f9c0a3438043
- Parents:
- 18e9f2f7714c20737d239d02c81a2a64fcc2e65b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r18e9f2f raf42ca 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id: extra.cc,v 1.19 2 2003-01-29 16:04:18 levandovExp $ */4 /* $Id: extra.cc,v 1.193 2003-01-29 16:13:10 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: general interface to internals of Singular ("system" command) … … 1400 1400 { 1401 1401 currRing->nc=(nc_struct *)omAlloc0(sizeof(nc_struct)); 1402 currRing->nc->ref=1; 1402 1403 } 1403 1404 else 1404 1405 { 1405 1406 WarnS("redefining algebra structure"); 1406 /* kill the previous nc data */ 1407 if (currRing->nc->ref>1) // in use by somebody else 1408 currRing->nc->ref--; 1409 else 1410 ncKill(currRing); /* kill the previous nc data */ 1411 currRing->nc=(nc_struct *)omAlloc0(sizeof(nc_struct)); 1412 currRing->nc->ref=1; 1407 1413 } 1408 1414 currRing->nc->type=nc_general;
Note: See TracChangeset
for help on using the changeset viewer.