Changeset df542e1 in git for Singular/ideals.cc
- Timestamp:
- Jan 27, 2000, 7:50:15 PM (24 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- ca043f5e911a6cfffaf265f0ec889f6a767e2ab4
- Parents:
- 1bf317c89085ef09163635ecfe77c4da1ebc1045
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ideals.cc
r1bf317 rdf542e1 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.8 4 2000-01-27 16:53:46 SingularExp $ */4 /* $Id: ideals.cc,v 1.85 2000-01-27 18:50:15 siebert Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 75 75 Print("Module of rank %d,real rank %d and %d generators.\n", 76 76 id->rank,idRankFreeModule(id),IDELEMS(id)); 77 for (int i=0;i< IDELEMS(id);i++)77 for (int i=0;i<id->ncols*id->nrows;i++) 78 78 { 79 79 if (id->m[i]!=NULL) … … 1758 1758 else 1759 1759 idDelete(&s_rest); 1760 idPrint(s_result); 1760 1761 if (unit!=NULL) 1761 1762 { … … 1769 1770 while(p!=NULL) 1770 1771 { 1771 if(pGetComp(p)< =comps)1772 if(pGetComp(p)<comps) 1772 1773 { 1773 1774 pSetComp(p,0); … … 1778 1779 else 1779 1780 { 1780 if(p!=s_result->m[i])1781 PrintS("wrong q\n");1782 1781 pIter(s_result->m[i]); 1783 1782 } … … 1793 1792 } 1794 1793 } 1794 pShift(&s_result->m[i],-comps_to_add); 1795 1795 } 1796 1796 }
Note: See TracChangeset
for help on using the changeset viewer.