Changeset de27d8 in git for Singular/iparith.cc
- Timestamp:
- Feb 18, 2013, 7:27:17 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 7d1ce3ef53e17b72b36010a52fcfbdbde745a3e7afc974f80049f26666102bf7d90f3aa6c1dfd957
- Parents:
- 77ed18101c07cdbb767d8703e5ea1d0f7c8b05f6
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-02-18 19:27:17+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-02-18 19:27:55+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r77ed181 rde27d8 1643 1643 x[i]=n_Init((*c)[i], coeffs_BIGINT); 1644 1644 } 1645 number n=n_ChineseRemainder (x,q,rl,coeffs_BIGINT);1645 number n=n_ChineseRemainderSym(x,q,rl,FALSE,coeffs_BIGINT); 1646 1646 for(i=rl-1;i>=0;i--) 1647 1647 { … … 1720 1720 static BOOLEAN jjCHINREM_ID(leftv res, leftv u, leftv v) 1721 1721 { 1722 lists c=(lists)u->CopyD(); // list of ideal 1722 lists c=(lists)u->CopyD(); // list of ideal or bigint/int 1723 1723 lists pl=NULL; 1724 1724 intvec *p=NULL; … … 1816 1816 for(i++;i<rl;i++) 1817 1817 { 1818 n_Delete(&(q[i]),currRing ->cf);1818 n_Delete(&(q[i]),currRing); 1819 1819 } 1820 1820 1821 omFree(x); // delete c 1821 1822 omFree(q); // delete pl 1823 if (xx!=NULL) omFree(xx); // delete c 1822 1824 return TRUE; 1823 1825 } … … 1826 1828 if (return_type==BIGINT_CMD) 1827 1829 { 1828 number n=n_ChineseRemainder (xx,q,rl,coeffs_BIGINT);1830 number n=n_ChineseRemainderSym(xx,q,rl,TRUE,coeffs_BIGINT); 1829 1831 res->data=(char *)n; 1830 1832 } … … 1843 1845 for(i=rl-1;i>=0;i--) 1844 1846 { 1845 n_Delete(&(q[i]),currRing ->cf);1847 n_Delete(&(q[i]),currRing); 1846 1848 } 1847 1849 omFree(q);
Note: See TracChangeset
for help on using the changeset viewer.