Changeset cbeafc2 in git for kernel/ideals.cc


Ignore:
Timestamp:
Nov 17, 2006, 3:31:07 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5d369c3cbad1a1bf2d5c856a48fb8a30b51cec3b')
Children:
f41bd90135713026d8a1ff50059a2d95d034bf52
Parents:
6ddd8a0a16f90b70564607ed32af027112fc1b37
Message:
*hannes: fix


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r6ddd8a0 rcbeafc2  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.20 2006-06-28 15:06:49 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.21 2006-11-17 14:31:07 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    27202720}
    27212721
    2722 // #define NEW_STUFF
     2722//#define NEW_STUFF
    27232723#ifndef NEW_STUFF
    27242724// converts mat to module, destroys mat
     
    27612761  poly h;
    27622762  poly p;
    2763   sBucket_pt bucket = sBucketInit(currRing);
     2763  sBucket_pt bucket = sBucketCreate(currRing);
    27642764
    27652765  for(j=0;j<mc /*MATCOLS(mat)*/;j++) /* j is also index in result->m */
     
    27712771      {
    27722772        MATELEM(mat,i,j+1)=NULL;
    2773         p_SetCompP(h,i, currRing, &l);
     2773        p_SetCompP(h,i, currRing);
    27742774        sBucket_Merge_p(bucket, h, l);
    27752775      }
     
    27772777    sBucketClearMerge(bucket, &(result->m[j]), &l);
    27782778  }
     2779  sBucketDestroy(&bucket);
    27792780
    27802781  // obachman: need to clean this up
Note: See TracChangeset for help on using the changeset viewer.