Changeset 0ec631 in git for kernel/ideals.cc


Ignore:
Timestamp:
Jan 6, 2009, 4:49:15 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
de95ec6fb0ed8eeb4e8a94afd54d06b7f126e59a
Parents:
7f1e81f502d6c58582e3220a7509892397167bfe
Message:
*hannes: OrdSgn


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r7f1e81 r0ec631  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.63 2009-01-06 13:59:35 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.64 2009-01-06 15:49:14 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    687687
    688688  homog = idHomModule(h1,currQuotient,&wth);
    689   if (rHasGlobalOrdering() && (!homog))
    690   {
    691     WarnS("minbase applies only to the local or homogeneous case");
    692     e=idCopy(h1);
    693     return e;
    694   }
    695   if ((currRing->OrdSgn == 1) && (homog))
    696   {
    697     ideal re=kMin_std(h1,currQuotient,(tHomog)homog,&wth,h2,NULL,0,3);
    698     idDelete(&re);
    699     return h2;
     689  if (rHasGlobalOrdering_currRing)
     690  {
     691    if(!homog)
     692    {
     693      WarnS("minbase applies only to the local or homogeneous case");
     694      e=idCopy(h1);
     695      return e;
     696    }
     697    else
     698    {
     699      ideal re=kMin_std(h1,currQuotient,(tHomog)homog,&wth,h2,NULL,0,3);
     700      idDelete(&re);
     701      return h2;
     702    }
    700703  }
    701704  e=idInit(1,h1->rank);
Note: See TracChangeset for help on using the changeset viewer.