Changeset 47faf56 in git for Singular/maps.cc
- Timestamp:
- Jan 12, 1998, 8:00:02 PM (26 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 567aff6dba275744806617fcbb3253b828a9b5d1
- Parents:
- 38cfbb50a8306b0a1da54ae6a6614ae8f4ecc643
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/maps.cc
r38cfbb r47faf56 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: maps.cc,v 1. 6 1997-12-15 22:46:31obachman Exp $ */4 /* $Id: maps.cc,v 1.7 1998-01-12 18:59:50 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - the mapping of polynomials to other rings … … 172 172 sip_sring tmpR; 173 173 174 // pChangeRing(theImageRing->N,theImageRing->OrdSgn,theImageRing->order,theImageRing->blocks,theImageRing->wvhdl);175 174 memset(block0, 0,sizeof(block0)); 176 175 memset(block1, 0,sizeof(block1)); … … 203 202 memset(wv,0,ordersize * sizeof(short **)); 204 203 for (i--;i!=0 ;i--) wv[i+1] = sourcering->wvhdl[i]; 205 memset(&tmpR, 0, sizeof(sip_sring));204 tmpR = *currRing; 206 205 tmpR.N = N; 207 tmpR.OrdSgn = currRing->OrdSgn;208 206 tmpR.order = orders; 209 207 tmpR.block0 = block0; … … 211 209 tmpR.wvhdl = wv; 212 210 rComplete(&tmpR); 213 214 pChangeRing(N,currRing->OrdSgn,orders,block0,block1, wv); 211 212 // change to new ring 213 rChangeCurrRing(&tmpR, FALSE); 215 214 sizeofpoly = pMonomSize; /*POLYSIZE+sizeof(monomial);*/ 216 215 if (id==NULL) … … 248 247 if (pLowVar(temp2->m[i])<imagepvariables) pDelete(&(temp2->m[i])); 249 248 } 250 pChangeRing(sourcering->N,sourcering->OrdSgn,sourcering->order, 251 sourcering->block0,sourcering->block1,sourcering->wvhdl); 249 250 // let's get back to the original ring 251 rChangeCurrRing(sourcering, FALSE); 252 252 temp1 = idInit(5,1); 253 253 j = 0; … … 411 411 int *m=(int *)Alloc0(N*sizeof(int)); 412 412 413 pTest(p);413 // pTest(p); 414 414 while(p!=NULL) 415 415 {
Note: See TracChangeset
for help on using the changeset viewer.