IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10857


Ignore:
Timestamp:
Dec 29, 2006, 9:13:11 AM (19 years ago)
Author:
eugene
Message:

fixed pspolyfit api

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppFocusFitFWHM.c

    r8751 r10857  
    1111    psPolynomial1D *poly = psPolynomial1DAlloc (PS_POLYNOMIAL_ORD, 2);
    1212
    13     poly = psVectorFitPolynomial1D (poly, NULL, 0, fwhm, NULL, focus);
    14     if (!poly) {
     13    if (!psVectorFitPolynomial1D (poly, NULL, 0, fwhm, NULL, focus)) {
    1514        psError (PS_ERR_UNKNOWN, false, "failed to fit focus/fwhm trend; invalid image data?");
    1615        return false;
Note: See TracChangeset for help on using the changeset viewer.