IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 23, 2006, 6:03:45 PM (20 years ago)
Author:
magnier
Message:

explicitly count the number of valid pixels in pmSourceFitModel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/objects/pmObjects.c

    r6448 r6480  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.9.4.1 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-02-17 17:13:42 $
     8 *  @version $Revision: 1.9.4.2 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-02-24 04:03:45 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    17031703        }
    17041704    }
     1705    x->n = nPix;
     1706    y->n = nPix;
     1707    yErr->n = nPix;
    17051708    if (nPix <  nParams + 1) {
    17061709        psTrace (".pmObjects.pmSourceFitModel", 4, "insufficient valid pixels\n");
     
    17121715        return(false);
    17131716    }
    1714     x->n = nPix;
    1715     y->n = nPix;
    1716     yErr->n = nPix;
    17171717
    17181718    // XXX EAM : the new minimization API supplies the constraints as a struct
Note: See TracChangeset for help on using the changeset viewer.