Changeset 9d34f0 in git
- Timestamp:
- Jan 8, 2009, 10:42:48 AM (14 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 35eef23de304e5ae3c4f51aadb5be842bb3f3c8a
- Parents:
- 88efd2b0180b92fc7199a6f36fe76955ba0db379
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ring.cc
r88efd2 r9d34f0 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.11 1 2009-01-07 18:03:28 Singular Exp $ */4 /* $Id: ring.cc,v 1.112 2009-01-08 09:42:48 Singular Exp $ */ 5 5 6 6 /* … … 1466 1466 int i,j; 1467 1467 ring res=(ring)omAllocBin(ip_sring_bin); 1468 //memset(res,0,sizeof(ip_sring));1469 memcpy4(res,r,sizeof(ip_sring));1468 memset(res,0,sizeof(ip_sring)); 1469 //memcpy4(res,r,sizeof(ip_sring)); 1470 1470 res->idroot=NULL; /* local objects */ 1471 1471 //ideal minideal; … … 1538 1538 res->VarL_Size=0; 1539 1539 1540 //short BitsPerExp; /* number of bits per exponent */1541 res->BitsPerExp=0;1542 //short ExpPerLong; /* maximal number of Exponents per long */1543 res->ExpPerLong=0;1544 1545 1540 //short pCompIndex; /* p->exp.e[pCompIndex] is the component */ 1546 1541 res->pCompIndex=0; … … 1574 1569 res->VarL_Offset=NULL; 1575 1570 1571 // the following are set by rComplete unless predefined 1572 // therefore, we copy these values: maybe they are non-standard 1576 1573 /* mask for getting single exponents */ 1577 //unsigned long bitmask; 1578 res->bitmask=0; 1574 res->bitmask=r->bitmask; 1579 1575 /* mask used for divisiblity tests */ 1580 //unsigned long divmask; 1581 res->divmask=0; 1576 res->divmask=r->divmask; 1577 res->BitsPerExp = r->BitsPerExp; 1578 res->ExpPerLong = r->ExpPerLong; 1582 1579 1583 1580 //p_Procs_s* p_Procs;
Note: See TracChangeset
for help on using the changeset viewer.