IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5682


Ignore:
Timestamp:
Dec 5, 2005, 11:33:29 AM (20 years ago)
Author:
gusciora
Message:

The previous psCoord.c merge is not correct. Neither is this.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.c

    r5626 r5682  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.95 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-11-30 02:17:17 $
     12*  @version $Revision: 1.96 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-12-05 21:33:29 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6262 
    6363XXX: Use the ADD version which is based on determinants.
     64 
     65XXX: This code no longer makes sense.  The merge must be reviewed.
    6466 *****************************************************************************/
    6567
     
    105107
    106108    if (1) {
     109        // XXX: There is no reason to execute this code and the following code.
    107110        psF64 A = transform->x->coeff[1][0];
    108111        psF64 B = transform->x->coeff[0][1];
     
    125128
    126129    }
    127     //    printf("HMMM: out->x: (%f %f %f)\n", out->x->coeff[0][0], out->x->coeff[1][0], out->x->coeff[0][1]);
    128     //    printf("HMMM: out->y: (%f %f %f)\n", out->y->coeff[0][0], out->y->coeff[1][0], out->y->coeff[0][1]);
    129 
    130 
     130
     131
     132    // XXX: There is no reason to execute this code and the previous codes.
    131133    // unless the cross terms are available, set these matrix elements to 0
    132134    psF64 r12 = 0.0;
  • trunk/psLib/src/math/psStats.c

    r5655 r5682  
    1717 *
    1818 *
    19  *  @version $Revision: 1.156 $ $Name: not supported by cvs2svn $
    20  *  @date $Date: 2005-12-01 23:35:33 $
     19 *  @version $Revision: 1.157 $ $Name: not supported by cvs2svn $
     20 *  @date $Date: 2005-12-05 21:33:29 $
    2121 *
    2222 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    16721672}
    16731673
    1674 // XXX: Get rid of this, or put it in psConstants.h
    1675 void PRINT_LEAKS()
    1676 {
    1677     psScalar *tmpScalar = psScalarAlloc(0.0, PS_TYPE_F32);
    1678     psMemCheckCorruption( 1 );
    1679     psS32 currentId = psMemGetId();
    1680     //    psMemBlock** blks;
    1681     //    psS32 nLeaks = psMemCheckLeaks( currentId, &blks, stderr, false );
    1682     psS32 nLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
    1683     printf("COOL: %d leaks.\n", nLeaks);
    1684     tmpScalar->data.F32 = 0.0;
    1685 }
    1686 
    1687 /*
    1688 #define PRINT_MEMLEAKS(NUM) \
    1689     printf("A: ---------------------------------------- (ID: %d)\n", NUM); \
    1690     memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false); \
    1691     printf("B: ---------------------------------------- (%d)\n", memLeaks); \
    1692 #define PRINT_MEMLEAKS(NUM) \
    1693 memLeaks = currentId;
    1694 */
    1695 
    1696 
    16971674/******************************************************************************
    16981675p_psVectorRobustStats(myVector, maskVector, maskVal, stats): This is the new
Note: See TracChangeset for help on using the changeset viewer.