Changeset 86016d in git for kernel/gr_kstd2.cc
- Timestamp:
- Feb 1, 2007, 12:51:25 AM (16 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- c591ad0eb4ed9f5be86c0c85d2412be2ad6be556
- Parents:
- 1cc61e18c0d6c70b177099c23a52159afb280bb4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gr_kstd2.cc
r1cc61e r86016d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gr_kstd2.cc,v 1.1 0 2007-01-11 10:10:37 SingularExp $ */4 /* $Id: gr_kstd2.cc,v 1.11 2007-01-31 23:51:23 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: noncomm. alg. of Buchberger … … 11 11 #ifdef HAVE_PLURAL 12 12 13 #define PLURAL_INTERNAL_DECLARATIONS 13 14 14 15 #include "omalloc.h" … … 750 751 #endif 751 752 752 void gr_initBba(ideal F, kStrategy strat)753 void nc_gr_initBba(ideal F, kStrategy strat) 753 754 { 754 755 assume(rIsPluralRing(currRing)); … … 826 827 // initHilbCrit(F,Q,&hilb,strat); 827 828 /* in plural we don't need Hilb yet */ 828 gr_initBba(F,strat);829 nc_gr_initBba(F,strat); 829 830 initBuchMoraPos(strat); 830 831 /*set enterS, spSpolyShort, reduce, red, initEcart, initEcartPair*/ … … 861 862 pLmFree(strat->P.p); 862 863 /* the real one */ 863 if (( currRing->nc->type==nc_lie) && pHasNotCF(strat->P.p1,strat->P.p2)) /* prod crit */864 if ((ncRingType(currRing)==nc_lie) && pHasNotCF(strat->P.p1,strat->P.p2)) /* prod crit */ 864 865 { 865 866 strat->cp++; … … 922 923 strat->enterS(strat->P,pos,strat,-1); 923 924 } 924 if (hilb!=NULL) khCheck(Q,w,hilb,hilbeledeg,hilbcount,strat);925 // if (hilb!=NULL) khCheck(Q,w,hilb,hilbeledeg,hilbcount,strat); 925 926 } 926 927 if (strat->P.lcm!=NULL) pLmFree(strat->P.lcm); … … 933 934 } 934 935 if (TEST_OPT_DEBUG) messageSets(strat); 936 935 937 /* complete reduction of the standard basis--------- */ 936 if (TEST_OPT_REDSB) completeReduce(strat); 938 if (TEST_OPT_REDSB){ 939 completeReduce(strat); // ??? 940 941 // ideal I = strat->Shdl; 942 // ideal erg = kInterRed(I,Q); 943 // assume(I!=erg); 944 // id_Delete(&I, currRing); 945 // strat->Shdl = erg; 946 } 947 937 948 /* release temp data-------------------------------- */ 938 949 exitBuchMora(strat); … … 949 960 if (TEST_OPT_PROT) messageStat(srmax,lrmax,hilbcount,strat); 950 961 if (Q!=NULL) updateResult(strat->Shdl,Q,strat); 962 963 951 964 #ifdef PDEBUG 952 965 /* for counting number of pairs [enterL] in Plural */
Note: See TracChangeset
for help on using the changeset viewer.