Changeset e78cce in git for Singular/hilb.cc
- Timestamp:
- Dec 15, 1997, 11:46:43 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 74eea4ee278a222b9c9e93f5041d06fdec86d467
- Parents:
- 3bc8cd5aedd9efcc75f287571cd2f05f49911c72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/hilb.cc
r3bc8cd re78cce 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: hilb.cc,v 1. 6 1997-11-25 15:29:21 pohlExp $ */4 /* $Id: hilb.cc,v 1.7 1997-12-15 22:46:24 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - Hilbert series … … 125 125 { 126 126 int iv = Nvar -1, ln, a, a0, a1, b, i; 127 short x, x0;127 Exponent_t x, x0; 128 128 scmon pn; 129 129 scfmon sn; … … 193 193 { 194 194 intvec *work, *hseries1=NULL; 195 short mc;195 Exponent_t mc; 196 196 int *p0; 197 197 int i, j, k, l, ii, mw; … … 208 208 hwork = (scfmon)Alloc(hNexist * sizeof(scmon)); 209 209 hvar = (varset)Alloc((pVariables + 1) * sizeof(int)); 210 hpure = (scmon)Alloc((1 + (pVariables * pVariables)) * sizeof( short));210 hpure = (scmon)Alloc((1 + (pVariables * pVariables)) * sizeof(Exponent_t)); 211 211 stcmem = hCreate(pVariables - 1); 212 212 Qpol = (int **)Alloc((pVariables + 1) * sizeof(int *)); … … 248 248 hOrdSupp(hstc, hNstc, hvar, hNvar); 249 249 hHilbEst(hstc, hNstc, hvar, hNvar); 250 memset(hpure, 0, (pVariables + 1) * sizeof( short));250 memset(hpure, 0, (pVariables + 1) * sizeof(Exponent_t)); 251 251 hPure(hstc, 0, &hNstc, hvar, hNvar, hpure, &hNpure); 252 252 hLexS(hstc, hNstc, hvar, hNvar); … … 324 324 Free((ADDRESS)Qpol, (pVariables + 1) * sizeof(int *)); 325 325 hKill(stcmem, pVariables - 1); 326 Free((ADDRESS)hpure, (1 + (pVariables * pVariables)) * sizeof( short));326 Free((ADDRESS)hpure, (1 + (pVariables * pVariables)) * sizeof(Exponent_t)); 327 327 Free((ADDRESS)hvar, (pVariables + 1) * sizeof(int)); 328 328 Free((ADDRESS)hwork, hNexist * sizeof(scmon)); 329 Free((ADDRESS)hexist, hNexist * sizeof(scmon));329 hDelete(hexist, hNexist); 330 330 Free((ADDRESS)p0, sizeof(int)); 331 331 if (hisModule!=0)
Note: See TracChangeset
for help on using the changeset viewer.