Changeset 5f4463 in git for kernel/fglmzero.cc


Ignore:
Timestamp:
Apr 11, 2011, 6:39:34 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
5beac5a8a177a4d4938cbc1e887bbd115a393f3a
Parents:
16733868763266ec04dae72db238bced32663735
Message:
making the sun-c/c++ compiler happy (still waiting for to issues...)



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

Legend:

Unmodified
Added
Removed
  • kernel/fglmzero.cc

    r1673386 r5f4463  
    799799    varpermutation = (int*)omAlloc( (pVariables+1)*sizeof(int) );
    800800    // Sort ring variables by increasing values (because of weighted orderings)
    801     ideal perm = idMaxIdeal(1);
    802     intvec *iv = idSort(perm,TRUE);
    803     idDelete(&perm);
     801    ideal perm_id = idMaxIdeal(1);
     802    intvec *iv = idSort(perm_id,TRUE);
     803    idDelete(&perm_id);
    804804    for(int i = pVariables; i > 0; i--) varpermutation[pVariables+1-i] = (*iv)[i-1];
    805805    delete iv;
Note: See TracChangeset for help on using the changeset viewer.