Changeset f4cdb9 in git


Ignore:
Timestamp:
Aug 17, 2000, 6:45:57 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c27956fe36110f606d89715478bf953a97316957
Parents:
669c51442a16c41910421f35fef5552d92373ad7
Message:
* hannes: idXXX-fixes (test for partial SB)


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

Legend:

Unmodified
Added
Removed
  • Singular/ideals.cc

    r669c51 rf4cdb9  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.99 2000-08-14 14:35:51 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.100 2000-08-17 16:45:57 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    14921492  {
    14931493    idDelete(&s_h1);
    1494     for (j=0; j<IDELEMS(s_h3); j++)
    1495     {
    1496       if (s_h3->m[j] != NULL)
    1497       {
    1498         if (pMinComp(s_h3->m[j],syz_ring) > k)
    1499           pShift(&s_h3->m[j], -k);
    1500         else
    1501           pDelete(&s_h3->m[j]);
    1502       }
    1503     }
    15041494    idSkipZeroes(s_h3);
    1505     s_h3->rank -= k;
    15061495    rChangeCurrRing(orig_ring, TRUE);
    15071496    s_h3 = idrMoveR_NoSort(s_h3, syz_ring);
     
    15111500  }
    15121501
    1513   ideal e = idInit(IDELEMS(s_h3), s_h3->rank);
    1514 
    1515   for (j=0; j<IDELEMS(s_h3); j++)
    1516   {
    1517     if (s_h3->m[j] != NULL)
    1518     {
    1519       if (pMinComp(s_h3->m[j],syz_ring) <= k)
    1520       {
    1521         e->m[j] = s_h3->m[j];
    1522         pDelete(&pNext(s_h3->m[j]));
    1523         s_h3->m[j] = NULL;
    1524       }
    1525     }
    1526   }
    1527 
    15281502  idSkipZeroes(s_h3);
    1529   idDelete(&e);
    15301503  idTest(s_h3);
    15311504  return s_h3;
Note: See TracChangeset for help on using the changeset viewer.