Changeset af2d81 in git for kernel/combinatorics


Ignore:
Timestamp:
Feb 21, 2018, 4:15:59 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
9c760f3f54df4275d8bad04ac6c424f499142361
Parents:
718ba6818a4fe48156d3e6d7902d61079d9db100
Message:
opt: omalloc -> omAlloc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/combinatorics/hilb.cc

    r718ba68 raf2d81  
    21502150  if(!mgrad)
    21512151  {
    2152     tt=(char**)omalloc(sizeof(char*));
     2152    tt=(char**)omAlloc(sizeof(char*));
    21532153    tt[0] = omStrDup("t");
    21542154    npar = 1;
     
    21592159    for(is = 0; is < lV; is++)
    21602160    {
    2161       tt[is] = (char*)omalloc(7*sizeof(char)); //if required enlarge it later
     2161      tt[is] = (char*)omAlloc(7*sizeof(char)); //if required enlarge it later
    21622162      sprintf (tt[is], "t%d", is+1);
    21632163    }
     
    21672167  p.r = rDefault(0, npar, tt);
    21682168  coeffs cf = nInitChar(n_transExt, &p);
    2169   char** xx = (char**)omalloc(sizeof(char*));
     2169  char** xx = (char**)omAlloc(sizeof(char*));
    21702170  xx[0] = omStrDup("x");
    21712171  ring R = rDefault(cf, 1, xx);
Note: See TracChangeset for help on using the changeset viewer.