IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2005, 2:59:54 PM (21 years ago)
Author:
desonia
Message:

PS_SQRT_F32 was depreciated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmObjects.c

    r4103 r4168  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-06-03 22:46:04 $
     7 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-06-09 00:59:53 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    11431143        psF32 A  = M_PI * sigX * sigY;
    11441144        psF32 B  = tmpSrc->moments->Sky;
    1145         psF32 RT = PS_SQRT_F32(S + (A * B) + (A * PS_SQR(RDNOISE) / PS_SQRT_F32(GAIN)));
    1146         psF32 SN = (S * PS_SQRT_F32(GAIN) / RT);
     1145        psF32 RT = sqrtf(S + (A * B) + (A * PS_SQR(RDNOISE) / sqrtf(GAIN)));
     1146        psF32 SN = (S * sqrtf(GAIN) / RT);
    11471147
    11481148        starsn->data.F32[starsn->n] = SN;
Note: See TracChangeset for help on using the changeset viewer.