IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 19, 2006, 3:13:11 PM (20 years ago)
Author:
drobbin
Message:

edited files to reflect changes & patches applied by IFA. Currently fixing testing procedures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/imageops/tst_psImageGeomManip.c

    r6805 r6912  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-04-06 04:12:27 $
     8 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-04-20 01:13:11 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    610610        psFitsMoveExtNum(fBiTruthFile, index, false);
    611611        psFitsMoveExtNum(sBiTruthFile, index, false);
    612         fTruth = psFitsReadImage(fTruth, fTruthFile, regionAll, 0);
    613         sTruth = psFitsReadImage(sTruth, sTruthFile, regionAll, 0);
    614         fBiTruth = psFitsReadImage(fBiTruth, fBiTruthFile, regionAll, 0);
    615         sBiTruth = psFitsReadImage(sBiTruth, sBiTruthFile, regionAll, 0);
     612        psFree(fTruth);
     613        psFree(sTruth);
     614        psFree(fBiTruth);
     615        psFree(sBiTruth);
     616        fTruth = NULL;
     617        sTruth = NULL;
     618        fBiTruth = NULL;
     619        sBiTruth = NULL;
     620        fTruth = psFitsReadImage(fTruthFile, regionAll, 0);
     621        sTruth = psFitsReadImage(sTruthFile, regionAll, 0);
     622        fBiTruth = psFitsReadImage(fBiTruthFile, regionAll, 0);
     623        sBiTruth = psFitsReadImage(sBiTruthFile, regionAll, 0);
    616624        if (fTruth == NULL) {
    617625            psError(PS_ERR_UNKNOWN, true,"verified psF32 image failed to be read (%d deg. rotation)",
Note: See TracChangeset for help on using the changeset viewer.