Changeset 7c63a9a in git
- Timestamp:
- Apr 22, 2005, 6:32:15 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- f199efd636b59f8aa4ff88fbd3601bb4aea53870
- Parents:
- 12c67735b2c54b98ba55c114912fcfa7f43218ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/hutil.cc
r12c6773 r7c63a9a 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: hutil.cc,v 1. 3 2004-10-28 14:16:27Singular Exp $ */4 /* $Id: hutil.cc,v 1.4 2005-04-22 16:32:15 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: Utilities for staircase operations … … 28 28 // "security" copy as well. But then, all the relevant data is held in 29 29 // global variables, so we might do that here, as well. 30 static int **hsecure= NULL;30 static scfmon hsecure= NULL; 31 31 32 32 scfmon hInit(ideal S, ideal Q, int *Nexist, ring tailRing) … … 84 84 return NULL; 85 85 ek = ex = (scfmon)omAlloc(k * sizeof(scmon)); 86 hsecure = ( int**) omAlloc(k * sizeof(scmon));86 hsecure = (scfmon) omAlloc(k * sizeof(scmon)); 87 87 for (i = sl; i>0; i--) 88 88 { … … 141 141 { 142 142 for (i=ev_length-1;i>=0;i--) 143 omFreeSize(hsecure[i],(pVariables+1)*sizeof( int));143 omFreeSize(hsecure[i],(pVariables+1)*sizeof(scmon)); 144 144 omFreeSize(hsecure, ev_length*sizeof(scmon)); 145 145 omFreeSize(ev, ev_length*sizeof(scmon));
Note: See TracChangeset
for help on using the changeset viewer.