Changeset 45d41f in git


Ignore:
Timestamp:
Jul 18, 2005, 2:41:55 PM (19 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d3c2f999d4d790673490486a0f05709ba9720804
Parents:
26620d841aad6a1ce3ba68c3114ee40ccffe0576
Message:
*bricken: memory in kBucketPolyRed_Z fixed, optimized


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

Legend:

Unmodified
Added
Removed
  • kernel/gring.cc

    r26620d r45d41f  
    77 *  Author:  levandov (Viktor Levandovsky)
    88 *  Created: 8/00 - 11/00
    9  *  Version: $Id: gring.cc,v 1.26 2005-07-15 11:58:24 levandov Exp $
     9 *  Version: $Id: gring.cc,v 1.27 2005-07-18 12:41:55 bricken Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    12661266  pTest(m);
    12671267#endif
     1268  if(p_IsConstant(m,currRing)){
     1269    pDelete(&m);
     1270    *c = kBucketPolyRed(b,p,pLength(p),NULL);
     1271    return;
     1272  }
    12681273  poly pp = nc_mm_Mult_p(m,pCopy(p),currRing);
    12691274  pDelete(&m);
    12701275  *c = kBucketPolyRed(b,pp,pLength(pp),NULL);
     1276  pDelete(&pp);
    12711277}
    12721278
Note: See TracChangeset for help on using the changeset viewer.