IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15977


Ignore:
Timestamp:
Jan 2, 2008, 10:36:36 AM (18 years ago)
Author:
gusciora
Message:

Changed some PS_ASSERTS to return NANs instead of FALSE.

File:
1 edited

Legend:

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

    r15702 r15977  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-11-27 22:46:33 $
     8 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2008-01-02 20:36:36 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    130130{
    131131    psTrace("psModules.objects", 3, "---- %s() begin ----\n", __func__);
    132     PS_ASSERT_PTR_NON_NULL(image, false);
    133     PS_ASSERT_PTR_NON_NULL(model, false);
    134     PS_ASSERT_PTR_NON_NULL(model->params, false);
     132    PS_ASSERT_PTR_NON_NULL(image, NAN);
     133    PS_ASSERT_PTR_NON_NULL(model, NAN);
     134    PS_ASSERT_PTR_NON_NULL(model->params, NAN);
    135135
    136136    // Allocate the x coordinate structure and convert row/col to image space.
Note: See TracChangeset for help on using the changeset viewer.