IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 1:52:54 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API:

add noreturn attribute
remove unneeded 'name' params
turn into a macro so file/line/func are automatiically passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psMinimizeLMM.c

    r11668 r11686  
    1010 *  @author EAM, IfA
    1111 *
    12  *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2007-02-06 21:36:09 $
     12 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2007-02-07 23:52:54 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    282282        chisq += PS_SQR(delta) * dy->data.F32[i];
    283283        if (isnan(dy->data.F32[i]))
    284             psAbort ("psMinLMM", "nan in weights");
     284            psAbort("nan in weights");
    285285        if (isnan(delta))
    286             psAbort ("psMinLMM", "nan in delta");
     286            psAbort("nan in delta");
    287287        if (isnan(chisq))
    288             psAbort ("psMinLMM", "nan in chisq");
     288            psAbort("nan in chisq");
    289289
    290290        for (psS32 j = 0; j < params->n; j++) {
Note: See TracChangeset for help on using the changeset viewer.