IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 19, 2006, 11:16:49 AM (20 years ago)
Author:
rhl
Message:

Use pmSource->sky not params[PM_PAR_SKY]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_CMF.c

    r9652 r9653  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-10-19 21:13:21 $
     5 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-10-19 21:16:49 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6363
    6464        type = pmSourceDophotType (source);
    65         #if 0
    66 
    67         float sky = PAR[PM_PAR_SKY];
    68         #else
    69 
    70         float sky = source->sky;
    71         #endif
    72 
    73         lsky = (sky < 1.0) ? 0.0 : log10(sky);
     65        lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky);
    7466
    7567        shape.sx  = PAR[PM_PAR_SXX];
Note: See TracChangeset for help on using the changeset viewer.