Changeset 56bd6a in git


Ignore:
Timestamp:
Mar 23, 2010, 6:25:11 PM (13 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
096c99353cb1003a6b35629d0482bdc72eda6e31
Parents:
283d86b527147bf837a6040685999a8c1f187996
Message:
tHomog moved to ring.h

git-svn-id: file:///usr/local/Singular/svn/trunk@12666 2c84dea3-7e68-4137-9b89-c4e89433aadc
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)
    25- documentation updates: primdec.lib, PLURAL
    36- new lib: surfsig.lib (renamed from signature.lib)
  • Singular/ipshell.cc

    r283d86 r56bd6a  
    983983  hwork = (scfmon)omAlloc(hNexist * sizeof(scmon));
    984984  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));
    986986  hrad = hexist;
    987987  hNrad = hNexist;
     
    994994  {
    995995    hCo = hNvar;
    996     memset(hpure, 0, (pVariables + 1) * sizeof(Exponent_t));
     996    memset(hpure, 0, (pVariables + 1) * sizeof(long));
    997997    hPure(hrad, 0, &hNrad, hvar, hNvar, hpure, &hNpure);
    998998    hLexR(hrad, hNrad, hvar, hNvar);
     
    10511051  }
    10521052  hKill(radmem, pVariables - 1);
    1053   omFreeSize((ADDRESS)hpure, (1 + (pVariables * pVariables)) * sizeof(Exponent_t));
     1053  omFreeSize((ADDRESS)hpure, (1 + (pVariables * pVariables)) * sizeof(long));
    10541054  omFreeSize((ADDRESS)hvar, (pVariables + 1) * sizeof(int));
    10551055  omFreeSize((ADDRESS)hwork, hNexist * sizeof(scmon));
  • kernel/ring.h

    r283d86 r56bd6a  
    4848// #endif
    4949
     50enum tHomog
     51{
     52   isNotHomog = FALSE,
     53   isHomog    = TRUE,
     54   testHomog
     55};
    5056
    5157extern ring      currRing;
  • kernel/structs.h

    r283d86 r56bd6a  
    7373
    7474
    75 enum tHomog
    76 {
    77    isNotHomog = FALSE,
    78    isHomog    = TRUE,
    79    testHomog
    80 };
    81 
    8275enum n_coeffType
    8376{
Note: See TracChangeset for help on using the changeset viewer.