Changeset 5682
- Timestamp:
- Dec 5, 2005, 11:33:29 AM (20 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
astro/psCoord.c (modified) (4 diffs)
-
math/psStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r5626 r5682 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.9 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-1 1-30 02:17:17$12 * @version $Revision: 1.96 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-12-05 21:33:29 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 62 62 63 63 XXX: Use the ADD version which is based on determinants. 64 65 XXX: This code no longer makes sense. The merge must be reviewed. 64 66 *****************************************************************************/ 65 67 … … 105 107 106 108 if (1) { 109 // XXX: There is no reason to execute this code and the following code. 107 110 psF64 A = transform->x->coeff[1][0]; 108 111 psF64 B = transform->x->coeff[0][1]; … … 125 128 126 129 } 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. 131 133 // unless the cross terms are available, set these matrix elements to 0 132 134 psF64 r12 = 0.0; -
trunk/psLib/src/math/psStats.c
r5655 r5682 17 17 * 18 18 * 19 * @version $Revision: 1.15 6$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-12-0 1 23:35:33$19 * @version $Revision: 1.157 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-12-05 21:33:29 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1672 1672 } 1673 1673 1674 // XXX: Get rid of this, or put it in psConstants.h1675 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 1697 1674 /****************************************************************************** 1698 1675 p_psVectorRobustStats(myVector, maskVector, maskVal, stats): This is the new
Note:
See TracChangeset
for help on using the changeset viewer.
