Changeset 32b0000 in git for kernel/kstd1.cc
- Timestamp:
- Jul 24, 2007, 6:19:09 PM (17 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 875d687f0824ce98eaa67154c1c57bac37cdde1f
- Parents:
- ea6e5e7ba407b2006bf3c391e4a48d6194d87418
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd1.cc
rea6e5e7 r32b0000 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.2 4 2007-07-24 12:29:30 SingularExp $ */4 /* $Id: kstd1.cc,v 1.25 2007-07-24 16:19:09 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 31 31 32 32 //#include "ipprint.h" 33 34 #ifdef HAVE_PLURAL 35 #include "sca.h" 36 #endif 37 33 38 34 39 /* the list of all options which give a warning by test */ … … 2125 2130 kStrategy strat = new skStrategy; 2126 2131 2132 ideal tempF = F; 2133 ideal tempQ = Q; 2134 2135 #ifdef HAVE_PLURAL 2136 if(rIsSCA(currRing)) 2137 { 2138 2139 const unsigned int m_iFirstAltVar = scaFirstAltVar(currRing); 2140 const unsigned int m_iLastAltVar = scaLastAltVar(currRing); 2141 tempF = id_KillSquares(F, m_iFirstAltVar, m_iLastAltVar, currRing); 2142 2143 // this should be done on the upper level!!! : 2144 // tempQ = currRing->nc->SCAQuotient(); 2145 2146 if(Q == currQuotient) 2147 tempQ = currRing->nc->SCAQuotient(); 2148 } 2149 #endif 2150 2151 // assume(!rIsSCA(currRing)); 2152 2127 2153 // if (TEST_OPT_PROT) 2128 2154 // { … … 2133 2159 strat->kHEdgeFound = ppNoether != NULL; 2134 2160 strat->kNoether=pCopy(ppNoether); 2135 strat->ak = idRankFreeModule( F);2161 strat->ak = idRankFreeModule(tempF); 2136 2162 initBuchMoraCrit(strat); 2137 2163 strat->NotUsedAxis = (BOOLEAN *)omAlloc((pVariables+1)*sizeof(BOOLEAN)); … … 2147 2173 strat->sevT = initsevT(); 2148 2174 if (pOrdSgn == -1) strat->honey = TRUE; 2149 initS( F,Q,strat);2175 initS(tempF, tempQ, strat); 2150 2176 if (TEST_OPT_REDSB) 2151 2177 strat->noTailReduction=FALSE; … … 2186 2212 } 2187 2213 delete(strat); 2214 2215 #ifdef HAVE_PLURAL 2216 if( tempF != F ) 2217 id_Delete( &tempF, currRing); 2218 #endif 2219 2188 2220 return shdl; 2189 2221 }
Note: See TracChangeset
for help on using the changeset viewer.