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/pmReadoutCombine.c

    r4030 r4168  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-05-25 20:28:32 $
     7 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-06-09 00:59:54 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    288288                            x+= tmpPixels->data.F32[r];
    289289                        }
    290                         sigma = PS_SQRT_F32((readnoise*readnoise) + gain * x) / gain;
     290                        sigma = sqrtf((readnoise*readnoise) + gain * x) / gain;
    291291
    292292                        tmpPixelErrors->data.F32[r] = sigma;
     
    307307                            sigma+= tmpPixels->data.F32[r];
    308308                        }
    309                         sigma = PS_SQRT_F32((readnoise*readnoise) + (gain * sigma)) / gain;
     309                        sigma = sqrtf((readnoise*readnoise) + (gain * sigma)) / gain;
    310310
    311311                        tmpPixelErrors->data.F32[r] = sigma;
Note: See TracChangeset for help on using the changeset viewer.