IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 17, 2005, 12:17:29 PM (22 years ago)
Author:
desonia
Message:

changed psMatrixLUD to create the perm parameter according to the machine
size of 'size_t', which is used by GSL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psMatrix03.c

    r2686 r3026  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.12 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2004-12-10 20:00:06 $
     16 *  @version $Revision: 1.13 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2005-01-17 22:17:29 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    108108    inVector->n = 3;
    109109    luImage32 = (psImage*)psImageAlloc(3, 3, PS_TYPE_F32);
    110     perm32 = (psVector*)psVectorAlloc(3, PS_TYPE_F32);
    111110    outVector32 = (psVector*)psVectorAlloc(3, PS_TYPE_F32);
    112111    inVector32 = (psVector*)psVectorAlloc(3, PS_TYPE_F32);
     
    131130    printPositiveTestHeader(stdout, "psMatrix", "Calculate LU matrix");
    132131    tempImage = luImage;
    133     luImage = psMatrixLUD(luImage, perm, inImage);
     132    luImage = psMatrixLUD(luImage, &perm, inImage);
    134133    CHECK_MATRIX(luImage);
    135134    if(luImage->type.dimen != PS_DIMEN_IMAGE) {
     
    140139
    141140    tempImage32 = luImage32;
    142     luImage32 = psMatrixLUD(luImage32, perm32, inImage32);
     141    luImage32 = psMatrixLUD(luImage32, &perm32, inImage32);
    143142    CHECK_MATRIX(luImage32);
    144143    if(luImage32->type.dimen != PS_DIMEN_IMAGE) {
Note: See TracChangeset for help on using the changeset viewer.