IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2011, 11:15:56 AM (15 years ago)
Author:
eugene
Message:

added concept of merging multiple objects into a single object in DVO / relastro; avoid memory-hogging duplication of the images array in relastro / relphot; enable parallax fitting; fix nan/inf bug in color points; add -no-return option to opihi/echo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/plot.c

    r20936 r32346  
    5353    return (FALSE);
    5454  }
     55  if (dypvec && (dypvec->Nelements != xvec->Nelements)) goto mismatch;
     56  if (dymvec && (dymvec->Nelements != xvec->Nelements)) goto mismatch;
     57  if (dxpvec && (dxpvec->Nelements != xvec->Nelements)) goto mismatch;
     58  if (dxmvec && (dxmvec->Nelements != xvec->Nelements)) goto mismatch;
     59
    5560  Npts = xvec[0].Nelements;
    5661  if (Npts == 0) return (TRUE);
     
    6974  }
    7075  return (TRUE);
     76
     77mismatch:
     78  gprint (GP_ERR, "error and data vector lengths are mismatched\n");
     79  return (FALSE);
    7180}
Note: See TracChangeset for help on using the changeset viewer.