Changeset a7a94ed in git


Ignore:
Timestamp:
Jan 6, 2010, 1:27:29 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
b46774f2ffde4294abff59d9fdb51d1914924c72
Parents:
8cc23471085d8b316b9e069e3af261cb141cccea
Message:
HAVE_IDI is now standard

git-svn-id: file:///usr/local/Singular/svn/trunk@12407 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/hilb.cc

    r8cc234 ra7a94ed  
    217217  intvec *work, *hseries1=NULL;
    218218  int  mc;
    219   int  *p0;
     219  int  p0;
    220220  int  i, j, k, l, ii, mw;
    221221  hexist = hInit(S, Q, &hNexist, tailRing);
     
    237237  #endif
    238238
    239   p0 = (int *)omAllocBin(int_bin);
    240   *p0 = 1;
     239  p0 = 1;
    241240  hwork = (scfmon)omAlloc(hNexist * sizeof(scmon));
    242241  hvar = (varset)omAlloc((pVariables + 1) * sizeof(int));
     
    285284        hLexS(hstc, hNstc, hvar, hNvar);
    286285        Q0[hNvar] = 0;
    287         hHilbStep(hpure, hstc, hNstc, hvar, hNvar, p0, 1);
     286        hHilbStep(hpure, hstc, hNstc, hvar, hNvar, &p0, 1);
    288287      }
    289288    }
     
    361360  omFreeSize((ADDRESS)hwork, hNexist * sizeof(scmon));
    362361  hDelete(hexist, hNexist);
    363   omFreeBin((ADDRESS)p0,  int_bin);
    364362  if (hisModule!=0)
    365363    omFreeSize((ADDRESS)hstc, hNexist * sizeof(scmon));
  • kernel/structs.h

    r8cc234 ra7a94ed  
    3838
    3939/* EXPONENT_TYPE is determined by configure und defined in mod2.h */
    40 /* the following defines should really go into mod2.h,
    41    but configure dislikes it */
    42 
    43 #define HAVE_IDI 1
    4440
    4541#if defined(SI_CPU_I386) || defined(SI_CPU_X86_64)
     
    939935  short      lev;
    940936  short      ref;
    941 #ifdef HAVE_IDI
    942937  int        id_i;
    943 #endif
    944938
    945939#define IDNEXT(a)    ((a)->next)
Note: See TracChangeset for help on using the changeset viewer.