Changeset 7c63a9a in git


Ignore:
Timestamp:
Apr 22, 2005, 6:32:15 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
f199efd636b59f8aa4ff88fbd3601bb4aea53870
Parents:
12c67735b2c54b98ba55c114912fcfa7f43218ef
Message:
*hannes; fixed types


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

Legend:

Unmodified
Added
Removed
  • kernel/hutil.cc

    r12c6773 r7c63a9a  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: hutil.cc,v 1.3 2004-10-28 14:16:27 Singular Exp $ */
     4/* $Id: hutil.cc,v 1.4 2005-04-22 16:32:15 Singular Exp $ */
    55/*
    66* ABSTRACT: Utilities for staircase operations
     
    2828// "security" copy as well. But then, all the relevant data is held in
    2929// global variables, so we might do that here, as well.
    30 static int **hsecure= NULL;
     30static scfmon hsecure= NULL;
    3131
    3232scfmon hInit(ideal S, ideal Q, int *Nexist, ring tailRing)
     
    8484    return NULL;
    8585  ek = ex = (scfmon)omAlloc(k * sizeof(scmon));
    86   hsecure = (int**) omAlloc(k * sizeof(scmon));
     86  hsecure = (scfmon) omAlloc(k * sizeof(scmon));
    8787  for (i = sl; i>0; i--)
    8888  {
     
    141141  {
    142142    for (i=ev_length-1;i>=0;i--)
    143       omFreeSize(hsecure[i],(pVariables+1)*sizeof(int));
     143      omFreeSize(hsecure[i],(pVariables+1)*sizeof(scmon));
    144144    omFreeSize(hsecure, ev_length*sizeof(scmon));
    145145    omFreeSize(ev,  ev_length*sizeof(scmon));
Note: See TracChangeset for help on using the changeset viewer.