Changeset 56bd6a in git
- Timestamp:
- Mar 23, 2010, 6:25:11 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 096c99353cb1003a6b35629d0482bdc72eda6e31
- Parents:
- 283d86b527147bf837a6040685999a8c1f187996
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ChangeLog
r283d86 r56bd6a 1 - memory leaks fixed for nc rings (trac 213) 1 - structs.h: smpoly moved to sparsemat.cc, 2 tHomog moved to ring.h, 3 Exponent_t removed 4 - memory leaks fixed for nc rings (trac 214) 2 5 - documentation updates: primdec.lib, PLURAL 3 6 - new lib: surfsig.lib (renamed from signature.lib) -
Singular/ipshell.cc
r283d86 r56bd6a 983 983 hwork = (scfmon)omAlloc(hNexist * sizeof(scmon)); 984 984 hvar = (varset)omAlloc((pVariables + 1) * sizeof(int)); 985 hpure = (scmon)omAlloc((1 + (pVariables * pVariables)) * sizeof( Exponent_t));985 hpure = (scmon)omAlloc((1 + (pVariables * pVariables)) * sizeof(long)); 986 986 hrad = hexist; 987 987 hNrad = hNexist; … … 994 994 { 995 995 hCo = hNvar; 996 memset(hpure, 0, (pVariables + 1) * sizeof( Exponent_t));996 memset(hpure, 0, (pVariables + 1) * sizeof(long)); 997 997 hPure(hrad, 0, &hNrad, hvar, hNvar, hpure, &hNpure); 998 998 hLexR(hrad, hNrad, hvar, hNvar); … … 1051 1051 } 1052 1052 hKill(radmem, pVariables - 1); 1053 omFreeSize((ADDRESS)hpure, (1 + (pVariables * pVariables)) * sizeof( Exponent_t));1053 omFreeSize((ADDRESS)hpure, (1 + (pVariables * pVariables)) * sizeof(long)); 1054 1054 omFreeSize((ADDRESS)hvar, (pVariables + 1) * sizeof(int)); 1055 1055 omFreeSize((ADDRESS)hwork, hNexist * sizeof(scmon)); -
kernel/ring.h
r283d86 r56bd6a 48 48 // #endif 49 49 50 enum tHomog 51 { 52 isNotHomog = FALSE, 53 isHomog = TRUE, 54 testHomog 55 }; 50 56 51 57 extern ring currRing; -
kernel/structs.h
r283d86 r56bd6a 73 73 74 74 75 enum tHomog76 {77 isNotHomog = FALSE,78 isHomog = TRUE,79 testHomog80 };81 82 75 enum n_coeffType 83 76 {
Note: See TracChangeset
for help on using the changeset viewer.