IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24089


Ignore:
Timestamp:
May 6, 2009, 2:21:05 PM (17 years ago)
Author:
eugene
Message:

return NAN for dparams on failure; rename psMatrixGJSolveF32 to psMatrixGJSolve

File:
1 edited

Legend:

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

    r23984 r24089  
    9393
    9494    // error and clear above if kept?
    95     if (false == psMatrixGJSolveF32(Alpha, Beta)) {
     95    if (!psMatrixGJSolve(Alpha, Beta)) {
    9696        psTrace ("psLib.math", 4, "singular matrix in Guess ABP\n");
    9797        return(false);
     
    223223    if (isnan(chisq)) {
    224224        psTrace ("psLib.math", 5, "psMinLM_SetABX() returned a NAN chisq.\n");
     225        psVectorInit (delta, NAN);
    225226        retValue = false;
    226227    }
     
    237238    if (!status) {
    238239        psTrace ("psLib.math", 5, "psMinLM_GuessABP() returned FALSE.\n");
     240        psVectorInit (delta, NAN);
    239241        retValue = false;
    240242    }
Note: See TracChangeset for help on using the changeset viewer.