IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5070


Ignore:
Timestamp:
Sep 19, 2005, 12:50:29 PM (21 years ago)
Author:
drobbin
Message:

Patched configure.ac, updated psTrace, fixed seg fault from psSpline k-loop using unsigned int

Location:
trunk/psLib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.ac

    r5025 r5070  
    2525SRCDIRS="sys astro db fft fits imageops math mathtypes types xml"
    2626SRCINC=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"`
     27dnl needed for psErrorText.h which is BUILT_SOURCES but also distributed
     28SRCINC="-I\${top_srcdir}/src ${SRCINC=}"
    2729
    2830SRCSUBLIBS=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|\1/libpslib\1.la|g"`
  • trunk/psLib/src/math/psSpline.c

    r5066 r5070  
    77*  splines.
    88*
    9 *  @version $Revision: 1.124 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-09-19 19:53:13 $
     9*  @version $Revision: 1.125 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-09-19 22:50:28 $
    1111*
    1212*
     
    264264    derivs2[n-1] = (u[n-1] - (qn * u[n-2])) / ((qn * derivs2[n-2]) + 1.0);
    265265
    266     for (k=(n-2);k>=0;k--) {
     266    //XXX: Changed from k=n-2;k>=0; because k is now unsigned//
     267    for (k=(n-1);k>0;k--) {
    267268        derivs2[k] = derivs2[k] * derivs2[k+1] + u[k];
    268269
  • trunk/psLib/src/mathtypes/psImage.h

    r5064 r5070  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.69 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-09-16 23:56:51 $
     13 *  @version $Revision: 1.70 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-09-19 22:50:29 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5555    const int numCols;                 ///< Number of columns in image
    5656    const int numRows;                 ///< Number of rows in image.
    57     const int col0;                    ///< Column position relative to parent.
    58     const int row0;                    ///< Row position relative to parent.
     57    int col0;                          ///< Column position relative to parent.
     58    int row0;                          ///< Row position relative to parent.
    5959
    6060    union {
  • trunk/psLib/src/sys/psTrace.h

    r5057 r5070  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-09-15 21:22:22 $
     11 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-09-19 22:50:29 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4646    #   define psTracePrintLevels()         /* do nothing */
    4747    #   define psTraceSetDestination(fp)    /* do nothing */
    48     #   define psTraceSetDestination()      /* do nothing */
     48    #   define psTraceGetDestination()      /* do nothing */
    4949    #   define PS_TRACE_ON 0
    5050
  • trunk/psLib/test/math/tst_psFunc07.c

    r4973 r5070  
    4040    psS32 memLeaks=0;
    4141    psS32  currentId = psMemGetId();
    42     psS32 i;
     42    unsigned int i;
    4343    psSpline1D *tmpSpline = NULL;
    4444    psVector *x = NULL;
Note: See TracChangeset for help on using the changeset viewer.