Changeset 9234fb in git for Singular/MinorInterface.cc


Ignore:
Timestamp:
Jan 9, 2013, 12:39:10 PM (11 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
c81bf79ced86ab51e160b984ca42699ac44228a0
Parents:
14a45578ff0a670cc8f091fed8b195c50ef51126
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-01-09 12:39:10+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-19 20:27:28+01:00
Message:
add: idKeepFirstK() in ideals.cc

Conflicts:
	Singular/MinorInterface.cc
	kernel/ideals.cc
	kernel/ideals.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/MinorInterface.cc

    r14a455 r9234fb  
    190190  /* before we return the result, let's omit zero generators
    191191     in iii which come after the computed minors */
    192   ideal jjj;
    193   if (collectedMinors == 0) jjj = idInit(1);
    194   else                      jjj = idCopyFirstK(iii, collectedMinors);
    195   idDelete(&iii);
     192  idKeepFirstK(iii, collectedMinors);
    196193  delete[] myColumnIndices;
    197194  delete[] myRowIndices;
    198   return jjj;
     195  return(iii);
    199196}
    200197
Note: See TracChangeset for help on using the changeset viewer.