IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24096


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

rename psMatrixGJSolveF32 to psMatrixGJSolve

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryUtils.c

    r19991 r24096  
    4646
    4747        /* this loop uses the Newton-Raphson method to solve for Xo,Yo
    48         * it needs the high order terms to be small
    49         * Xo,Yo are in pixels;
    50         */
     48        * it needs the high order terms to be small
     49        * Xo,Yo are in pixels;
     50        */
    5151        double dPos = tol + 1;
    5252        for (int i = 0; (dPos > tol) && (i < 20); i++) {
     
    6060            Beta->data.F32[1] = psPolynomial2DEval (trans->y, Xo, Yo);
    6161
    62             if (!psMatrixGJSolveF32 (Alpha, Beta)) {
    63               psError(PS_ERR_UNKNOWN, false, "Unable to solve for center.");
    64               psFree (Alpha);
    65               psFree (Beta);
    66               psFree (XdX);
    67               psFree (XdY);
    68               psFree (YdX);
    69               psFree (YdY);
     62            if (!psMatrixGJSolve (Alpha, Beta)) {
     63                psError(PS_ERR_UNKNOWN, false, "Unable to solve for center.");
     64                psFree (Alpha);
     65                psFree (Beta);
     66                psFree (XdX);
     67                psFree (XdY);
     68                psFree (YdX);
     69                psFree (YdY);
    7070                return NULL;
    7171            }
Note: See TracChangeset for help on using the changeset viewer.