IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2007, 1:41:51 PM (19 years ago)
Author:
magnier
Message:

replaced pmModel.status with pmModel.flags; using bit values instead of ints; names are now of the form PM_MODEL_STATUS_XXX; no error on limit saturation for model parameters

File:
1 edited

Legend:

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

    r13038 r13803  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-04-26 01:45:35 $
     8 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-06-13 23:41:51 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5959    tmp->nIter = 0;
    6060    tmp->radiusFit = 0;
    61     tmp->status = PM_MODEL_UNTRIED;
     61    tmp->flags = PM_MODEL_STATUS_NONE;
    6262    tmp->residuals = NULL;              // XXX should the model own this memory?
    6363
     
    8686    pmModel *new = pmModelAlloc (model->type);
    8787
    88     new->chisq  = model->chisq;
    89     new->nDOF   = model->nDOF;
    90     new->nIter  = model->nIter;
    91     new->status = model->status;
     88    new->chisq     = model->chisq;
     89    new->nDOF      = model->nDOF;
     90    new->nIter     = model->nIter;
     91    new->flags     = model->flags;
    9292    new->radiusFit = model->radiusFit;
    9393
Note: See TracChangeset for help on using the changeset viewer.