Changeset 760b5dc in git for kernel/ideals.cc
- Timestamp:
- Mar 4, 2008, 4:42:56 PM (15 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 411ea98eecab97fbeac7f8395433a159d6d03584
- Parents:
- 61d7071a1abe6bd2b06484655f5b1adfe2414425
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r61d707 r760b5dc 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.4 8 2008-03-04 15:31:54Singular Exp $ */4 /* $Id: ideals.cc,v 1.49 2008-03-04 15:42:56 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 2346 2346 block0=(int*)omAlloc(ordersize*sizeof(int)); 2347 2347 block1=(int*)omAlloc(ordersize*sizeof(int)); 2348 wv=(int**) omAlloc0(ordersize*sizeof(int**)); 2348 2349 for (k=0;k<ordersize-1; k++) 2349 2350 { … … 2351 2352 block1[k+1] = origR->block1[k]; 2352 2353 ord[k+1] = origR->order[k]; 2354 if (origR->wvhdl[k]!=NULL) wv[k+1] = (int*) omMemDup(origR->wvhdl[k]); 2353 2355 } 2354 2356 block0[0] = 1; 2355 2357 block1[0] = rVar(origR); 2356 wv=(int**) omAlloc0(ordersize*sizeof(int**));2357 memcpy4(wv+1,currRing->wvhdl,(ordersize-1)*sizeof(int**));2358 2358 wv[0]=(int*)omAlloc((pVariables+1)*sizeof(int)); 2359 2359 memset(wv[0],0,(pVariables+1)*sizeof(int));
Note: See TracChangeset
for help on using the changeset viewer.