Changeset 39e423 in git
- Timestamp:
- May 1, 2009, 5:09:32 PM (14 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- e3b5ed00f856ec2d7eda1f54c39e55fce4aa7930
- Parents:
- 0661d420fbd0c4909468e67e60c2b21895686e9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r0661d42 r39e423 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipassign.cc,v 1.10 3 2009-03-19 11:04:56Singular Exp $ */4 /* $Id: ipassign.cc,v 1.104 2009-05-01 15:09:32 Singular Exp $ */ 5 5 6 6 /* … … 551 551 552 552 ring qr=(ring)res->Data(); // the declaration allocated space 553 omFreeBin((ADDRESS)qr, ip_sring_bin); 553 554 ring qrr=rCopy(currRing); 554 555 // we have to fill it, but the copy also allocates space 555 memcpy4(qr,qrr,sizeof(ip_sring)); 556 omFreeBin((ADDRESS)qrr, ip_sring_bin); 556 idhdl h=(idhdl)res->data; // we have res->rtyp==IDHDL 557 IDRING(h)=qrr; 558 qr=qrr; 557 559 558 560 #ifdef HAVE_PLURAL … … 564 566 #endif 565 567 566 // delete the qr copy of quotient ideal!!!567 if (qr->qideal!=NULL) idDelete(&qr->qideal);568 568 569 569 ideal id=(ideal)a->CopyD(IDEAL_CMD); 570 570 571 if ((idElem(id)>1) || rIsSCA(currRing) || (currRing->qideal!=NULL)) 571 if ((idElem(id)>1) || rIsSCA(currRing) || (currRing->qideal!=NULL)) 572 572 assumeStdFlag(a); 573 573 … … 578 578 idDelete(&id); 579 579 id=tmp; 580 } 581 qr->qideal = id; 580 // delete the qr copy of quotient ideal!!! 581 idDelete(&qr->qideal); 582 } 583 qrr->qideal = id; 582 584 583 585 // qr is a copy of currRing with the new qideal! … … 592 594 if( nc_SetupQuotient(qr, currRing) ) 593 595 { 594 // WarnS("error in nc_SetupQuotient"); 596 // WarnS("error in nc_SetupQuotient"); 595 597 } 596 598 }
Note: See TracChangeset
for help on using the changeset viewer.