Changeset c1b19cc in git


Ignore:
Timestamp:
Jan 5, 2010, 2:13:28 PM (13 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
1d43d184dd871d77c1ba8e095d768f22a0fbe92f
Parents:
835d837d628ffb434ebd7c6219fa7994bdd7d61e
Message:
move stuff from structs.h

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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r835d83 rc1b19cc  
    30153015    {
    30163016      atSet(res,omStrDup("isHomog"),ivCopy(weights),INTVEC_CMD);
    3017       r->weights = (intvec**)omAlloc0Bin(void_ptr_bin);
     3017      r->weights = (intvec**)omAlloc0Bin(char_ptr_bin);
    30183018      (r->weights)[0] = ivCopy(weights);
    30193019    }
     
    62716271      else
    62726272      {
    6273         weights = (intvec**)omAlloc0Bin(void_ptr_bin);
     6273        weights = (intvec**)omAlloc0Bin(char_ptr_bin);
    62746274        weights[0] = ivCopy(iv);
    62756275      }
  • Singular/mpsr_Get.cc

    r835d83 rc1b19cc  
    180180  memcpy(&(n->z), apint, sizeof(MP_INT));
    181181  nlNormalize(n);
    182   omFreeBin(apint, MP_INT_bin);
     182  omFreeSize(apint, sizeof(MP_INT));
    183183  mlv->lv = mpsr_InitLeftv(NUMBER_CMD, n);
    184184}
  • Singular/subexpr.h

    r835d83 rc1b19cc  
    1313#include "tok.h"
    1414#include "structs.h"
     15#include "febase.h"
     16#include "ring.h"
    1517
    1618struct _ssubexpr
Note: See TracChangeset for help on using the changeset viewer.