Changeset cbeafc2 in git


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


git-svn-id: file:///usr/local/Singular/svn/trunk@9495 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 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
  • kernel/matpol.cc

    r6ddd8a0 rcbeafc2  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: matpol.cc,v 1.7 2006-11-17 14:17:16 Singular Exp $ */
     4/* $Id: matpol.cc,v 1.8 2006-11-17 14:31:06 Singular Exp $ */
    55
    66/*
     
    217217      {
    218218        poly a_p, b_p;
    219         if (((a_p=MATELEM(a,i,k))!=NULL) || ((b_p=MATELEM(b,k,j))!=NULL))
     219        if (((a_p=MATELEM(a,i,k))!=NULL) && ((b_p=MATELEM(b,k,j))!=NULL))
    220220        {
    221221          s = ppMult_qq(a_p /*MATELEM(a,i,k)*/, b_p/*MATELEM(b,k,j)*/);
Note: See TracChangeset for help on using the changeset viewer.