Changeset 760b5dc in git for kernel/ideals.cc


Ignore:
Timestamp:
Mar 4, 2008, 4:42:56 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
411ea98eecab97fbeac7f8395433a159d6d03584
Parents:
61d7071a1abe6bd2b06484655f5b1adfe2414425
Message:
*hannes: rCopy0 in idElimination


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r61d707 r760b5dc  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.48 2008-03-04 15:31:54 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.49 2008-03-04 15:42:56 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    23462346  block0=(int*)omAlloc(ordersize*sizeof(int));
    23472347  block1=(int*)omAlloc(ordersize*sizeof(int));
     2348  wv=(int**) omAlloc0(ordersize*sizeof(int**));
    23482349  for (k=0;k<ordersize-1; k++)
    23492350  {
     
    23512352    block1[k+1] = origR->block1[k];
    23522353    ord[k+1] = origR->order[k];
     2354    if (origR->wvhdl[k]!=NULL) wv[k+1] = (int*) omMemDup(origR->wvhdl[k]);
    23532355  }
    23542356  block0[0] = 1;
    23552357  block1[0] = rVar(origR);
    2356   wv=(int**) omAlloc0(ordersize*sizeof(int**));
    2357   memcpy4(wv+1,currRing->wvhdl,(ordersize-1)*sizeof(int**));
    23582358  wv[0]=(int*)omAlloc((pVariables+1)*sizeof(int));
    23592359  memset(wv[0],0,(pVariables+1)*sizeof(int));
Note: See TracChangeset for help on using the changeset viewer.