Changeset ac00e2f in git for Singular/ipassign.cc
- Timestamp:
- May 14, 2014, 4:02:50 PM (10 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
- Children:
- 0f74a1d360bc1f2c80ba740d66bcf0a755b6e43d
- Parents:
- 8b5fff53b54b8c7889b6490e4871793cfd8e4efe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r8b5fff rac00e2f 471 471 res->data=(void*)p; 472 472 jiAssignAttr(res,a); 473 if (TEST_V_QRING && (curr Quotient!=NULL) && (!hasFlag(res,FLAG_QRING))) jjNormalizeQRingP(res);473 if (TEST_V_QRING && (currRing->qideal!=NULL) && (!hasFlag(res,FLAG_QRING))) jjNormalizeQRingP(res); 474 474 } 475 475 else … … 643 643 setFlag(res,FLAG_STD); 644 644 } 645 if (TEST_V_QRING && (curr Quotient!=NULL)&& (!hasFlag(res,FLAG_QRING))) jjNormalizeQRingId(res);645 if (TEST_V_QRING && (currRing->qideal!=NULL)&& (!hasFlag(res,FLAG_QRING))) jjNormalizeQRingId(res); 646 646 return FALSE; 647 647 } … … 661 661 pNormalize(I->m[0]); 662 662 res->data=(void *)I; 663 if (TEST_V_QRING && (curr Quotient!=NULL))663 if (TEST_V_QRING && (currRing->qideal!=NULL)) 664 664 { 665 665 if (hasFlag(a,FLAG_QRING)) setFlag(res,FLAG_QRING); … … 677 677 id_Normalize((ideal)m, currRing); 678 678 res->data=(void *)m; 679 if (TEST_V_QRING && (curr Quotient!=NULL)) jjNormalizeQRingId(res);679 if (TEST_V_QRING && (currRing->qideal!=NULL)) jjNormalizeQRingId(res); 680 680 return FALSE; 681 681 } … … 1172 1172 l1->CleanUp(); 1173 1173 r->CleanUp(); 1174 //if (TEST_V_QRING && (curr Quotient!=NULL)) jjNormalizeQRingP(l);1174 //if (TEST_V_QRING && (currRing->qideal!=NULL)) jjNormalizeQRingP(l); 1175 1175 return FALSE; 1176 1176 } … … 1909 1909 void jjNormalizeQRingId(leftv I) 1910 1910 { 1911 if ((curr Quotient!=NULL) && (!hasFlag(I,FLAG_QRING)))1911 if ((currRing->qideal!=NULL) && (!hasFlag(I,FLAG_QRING))) 1912 1912 { 1913 1913 if (I->e==NULL) … … 1920 1920 { 1921 1921 ideal F=idInit(1,1); 1922 ideal II=kNF(F,curr Quotient,I0);1922 ideal II=kNF(F,currRing->qideal,I0); 1923 1923 idDelete(&F); 1924 1924 if (I->rtyp!=IDHDL) … … 1944 1944 void jjNormalizeQRingP(leftv I) 1945 1945 { 1946 if ((curr Quotient!=NULL) && (!hasFlag(I,FLAG_QRING)))1946 if ((currRing->qideal!=NULL) && (!hasFlag(I,FLAG_QRING))) 1947 1947 { 1948 1948 poly p=(poly)I->Data(); … … 1950 1950 { 1951 1951 ideal F=idInit(1,1); 1952 poly II=kNF(F,curr Quotient,p);1952 poly II=kNF(F,currRing->qideal,p); 1953 1953 idDelete(&F); 1954 1954 if ((I->rtyp==POLY_CMD)
Note: See TracChangeset
for help on using the changeset viewer.