Changeset df542e1 in git for Singular/ideals.cc


Ignore:
Timestamp:
Jan 27, 2000, 7:50:15 PM (24 years ago)
Author:
Thomas Siebert <siebert@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
ca043f5e911a6cfffaf265f0ec889f6a767e2ab4
Parents:
1bf317c89085ef09163635ecfe77c4da1ebc1045
Message:
idLift corrected


git-svn-id: file:///usr/local/Singular/svn/trunk@4096 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ideals.cc

    r1bf317 rdf542e1  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.84 2000-01-27 16:53:46 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.85 2000-01-27 18:50:15 siebert Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    7575  Print("Module of rank %d,real rank %d and %d generators.\n",
    7676         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++)
    7878  {
    7979    if (id->m[i]!=NULL)
     
    17581758  else
    17591759    idDelete(&s_rest);
     1760idPrint(s_result);
    17601761  if (unit!=NULL)
    17611762  {
     
    17691770      while(p!=NULL)
    17701771      {
    1771         if(pGetComp(p)<=comps)
     1772        if(pGetComp(p)<comps)
    17721773        {
    17731774          pSetComp(p,0);
     
    17781779          else
    17791780          {
    1780             if(p!=s_result->m[i])
    1781               PrintS("wrong q\n");
    17821781            pIter(s_result->m[i]);
    17831782          }
     
    17931792        }
    17941793      }
     1794      pShift(&s_result->m[i],-comps_to_add);
    17951795    }
    17961796  }
Note: See TracChangeset for help on using the changeset viewer.