IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2005, 9:26:25 AM (21 years ago)
Author:
desonia
Message:

Fixed bugs as reported by IfA.

Location:
trunk/psLib/src/dataManip
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psConstants.h

    r3182 r3264  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-02-10 02:36:41 $
    10  *
    11  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     8 *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-02-17 19:26:23 $
     10 *
     11 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1212 *
    1313 *  XXX: Add parenthesis around all arguments so that these macros can be
  • trunk/psLib/src/dataManip/psDataManipErrors.h

    r3115 r3264  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-02-03 00:54:10 $
     9 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-17 19:26:23 $
    1111 *
    12  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     12 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1313 */
    1414
  • trunk/psLib/src/dataManip/psFunctions.c

    r3182 r3264  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-02-10 02:36:41 $
     9 *  @version $Revision: 1.89 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-17 19:26:23 $
    1111 *
    12  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     12 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1313 *
    1414 *  XXX: What happens if the polyEVal functions are called with data of the wrong
  • trunk/psLib/src/dataManip/psFunctions.h

    r3149 r3264  
    1212*  @author GLG, MHPCC
    1313*
    14 *  @version $Revision: 1.42 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-02-08 00:47:18 $
     14*  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-02-17 19:26:23 $
    1616*
    17 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     17*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1818*/
    1919
  • trunk/psLib/src/dataManip/psMatrix.c

    r3026 r3264  
    1919 *
    2020 *  @author Ross Harman, MHPCC
     21 *  @author Robert DeSonia, MHPCC
    2122 *
    22  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    23  *  @date $Date: 2005-01-17 22:17:29 $
     23 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     24 *  @date $Date: 2005-02-17 19:26:23 $
    2425 *
    25  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     26 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    2627 */
    2728
     
    191192    PS_CHECK_DIMEN_AND_TYPE(inImage, PS_DIMEN_IMAGE, outImage);
    192193    PS_PTR_CHECK_NULL_GENERAL(outPerm, psMatrixLUD_EXIT);
    193     psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
     194
     195    outImage = psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
     196
    194197    PS_CHECK_SQUARE(inImage, outImage);
    195198    PS_CHECK_SQUARE(outImage, outImage);
     
    299302    PS_CHECK_DIMEN_AND_TYPE(inImage, PS_DIMEN_IMAGE, outImage);
    300303    PS_IMAGE_CHECK_EMPTY(inImage, outImage);
    301     psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
     304    outImage = psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
    302305    PS_CHECK_SQUARE(inImage, outImage);
    303306    PS_CHECK_SQUARE(outImage, outImage);
     
    383386    PS_IMAGE_CHECK_EMPTY(inImage2, outImage);
    384387    PS_CHECK_DIMEN_AND_TYPE(inImage1, PS_DIMEN_IMAGE, outImage);
    385     psImageRecycle(outImage, inImage2->numCols, inImage2->numRows, inImage2->type.type);
     388
     389    outImage = psImageRecycle(outImage, inImage2->numCols, inImage2->numRows, inImage2->type.type);
     390
    386391    PS_CHECK_SQUARE(inImage1, outImage);
    387392    PS_CHECK_SQUARE(inImage2, outImage);
     
    473478    PS_CHECK_DIMEN_AND_TYPE(inImage, PS_DIMEN_IMAGE, outImage);
    474479    PS_IMAGE_CHECK_EMPTY(inImage, outImage);
    475     psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
     480
     481    outImage = psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
    476482
    477483    // Initialize data
     
    582588        PS_CHECK_DIMEN_AND_TYPE(inVector, PS_DIMEN_VECTOR, outImage);
    583589        PS_VECTOR_CHECK_EMPTY(inVector, outImage);
    584         psImageRecycle(outImage, 1, inVector->n, PS_TYPE_F64);
     590        outImage = psImageRecycle(outImage, 1, inVector->n, PS_TYPE_F64);
    585591        // More checks for PS_DIMEN_VECTOR
    586592        if (outImage->numCols > 1) {
     
    601607        PS_CHECK_DIMEN_AND_TYPE(inVector, PS_DIMEN_TRANSV, outImage);
    602608        PS_VECTOR_CHECK_EMPTY(inVector, outImage);
    603         psImageRecycle(outImage, inVector->n, 1, PS_TYPE_F64);
     609        outImage = psImageRecycle(outImage, inVector->n, 1, PS_TYPE_F64);
    604610        // More checks for PS_DIMEN_TRANSV
    605611        if (outImage->numRows > 1) {
  • trunk/psLib/src/dataManip/psMatrix.h

    r3026 r3264  
    2222 *  @author Ross Harman, MHPCC
    2323 *
    24  *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    25  *  @date $Date: 2005-01-17 22:17:29 $
     24 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     25 *  @date $Date: 2005-02-17 19:26:23 $
    2626 *
    27  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     27 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    2828 */
    2929
  • trunk/psLib/src/dataManip/psMinimize.c

    r3182 r3264  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.105 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-02-10 02:36:41 $
     11 *  @version $Revision: 1.106 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-17 19:26:23 $
    1313 *
    14  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     14 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1515 *
    1616 *  XXX: must follow coding name standards on local functions.
  • trunk/psLib/src/dataManip/psMinimize.h

    r3115 r3264  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2005-02-03 00:54:10 $
     10 *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2005-02-17 19:26:23 $
    1212 *
    13  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     13 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1414 *
    1515 */
  • trunk/psLib/src/dataManip/psRandom.c

    r3009 r3264  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-01-15 01:15:09 $
     12*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-17 19:26:23 $
    1414*
    15 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1616*/
    1717
  • trunk/psLib/src/dataManip/psRandom.h

    r2780 r3264  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-12-21 23:25:14 $
     12*  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-02-17 19:26:23 $
    1414*
    15 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1616*/
    1717
  • trunk/psLib/src/dataManip/psStats.c

    r3115 r3264  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.112 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-02-03 00:54:10 $
     11 *  @version $Revision: 1.113 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-02-17 19:26:23 $
    1313 *
    14  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     14 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1515 */
    1616
  • trunk/psLib/src/dataManip/psStats.h

    r3115 r3264  
    1010 *  @author George Gusciora, MHPCC
    1111 *
    12  *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-02-03 00:54:10 $
     12 *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-02-17 19:26:23 $
    1414 *
    15  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     15 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1616 */
    1717#if !defined(PS_STATS_H)
  • trunk/psLib/src/dataManip/psVectorFFT.c

    r2283 r3264  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2004-11-04 22:14:17 $
     7 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-02-17 19:26:23 $
    99 *
    10  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     10 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1111 */
    1212
  • trunk/psLib/src/dataManip/psVectorFFT.h

    r2283 r3264  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-11-04 22:14:17 $
     9 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-02-17 19:26:23 $
    1111 *
    12  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     12 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1313 */
    1414
Note: See TracChangeset for help on using the changeset viewer.