Changeset c91f233 in git


Ignore:
Timestamp:
Apr 27, 2000, 2:27:43 PM (24 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
baaef953172dcd8436a1bc15e9fa34c7c74d8459
Parents:
e5f8ae07e0b41bb1b0e5aaaac2dad244e619d563
Message:
permutation vector perm is int !


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

Legend:

Unmodified
Added
Removed
  • Singular/sparsmat.cc

    re5f8ae rc91f233  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: sparsmat.cc,v 1.26 2000-04-19 15:45:00 pohl Exp $ */
     4/* $Id: sparsmat.cc,v 1.27 2000-04-27 12:27:43 pohl Exp $ */
    55
    66/*
     
    8585  int rpiv, cpiv;      // position of the pivot
    8686  int normalize;       // Normalization flag
    87   Exponent_t *perm;    // permutation of rows
     87  int *perm;           // permutation of rows
    8888  float wpoints;       // weight of all points
    8989  float *wrw, *wcl;    // weights of rows and columns
     
    346346  tored = nrows; // without border
    347347  i = tored+1;
    348   perm = (Exponent_t *)Alloc(sizeof(Exponent_t)*(i+1));
     348  perm = (int *)Alloc(sizeof(int)*(i+1));
    349349  perm[i] = 0;
    350350  m_row = (smpoly *)Alloc0(sizeof(smpoly)*i);
     
    383383  Free((ADDRESS)wrw, sizeof(float)*i);
    384384  Free((ADDRESS)m_row, sizeof(smpoly)*i);
    385   Free((ADDRESS)perm, sizeof(Exponent_t)*(i+1));
     385  Free((ADDRESS)perm, sizeof(int)*(i+1));
    386386}
    387387
Note: See TracChangeset for help on using the changeset viewer.