Changeset 5524 for trunk/psLib/test/astro/tst_psEarthOrientation.c
- Timestamp:
- Nov 16, 2005, 10:52:23 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tst_psEarthOrientation.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psEarthOrientation.c
r5522 r5524 5 5 * @author d-Rob, MHPCC 6 6 * 7 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-11-16 02:40:13 $7 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-11-16 20:52:23 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 171 171 psFree(UT1time); 172 172 //Check return values from valid precession input 173 /* 174 pmodel = psEOC_PrecessionModel(time);175 if ( pmodel == NULL ) {176 psError(PS_ERR_BAD_PARAMETER_NULL, false,177 "psEOC_PrecessionModel returned NULL for valid input.\n");178 return 3;179 } else {180 printf("Precession Model output = x,y,s = %.8g, %.8g, %.8g\n",181 pmodel->x, pmodel->y, pmodel->s);182 }183 psFree(pmodel);184 */ 173 174 pmodel = psEOC_PrecessionModel(time); 175 if ( pmodel == NULL ) { 176 psError(PS_ERR_BAD_PARAMETER_NULL, false, 177 "psEOC_PrecessionModel returned NULL for valid input.\n"); 178 return 3; 179 } else { 180 printf("Precession Model output = x,y,s = %.8g, %.8g, %.8g\n\n", 181 pmodel->x, pmodel->y, pmodel->s); 182 } 183 psFree(pmodel); 184 185 185 186 186 //Tests for Precession Correction function// … … 228 228 229 229 psFree(time); 230 /*if (!p_psEOCFinalize() ) {231 psError(PS_ERR_BAD_PARAMETER_VALUE, false, "EOC failed finalization!\n");232 return 12;233 }234 */ 230 if (!p_psEOCFinalize() ) { 231 psError(PS_ERR_BAD_PARAMETER_VALUE, false, "EOC failed finalization!\n"); 232 return 12; 233 } 234 235 235 return 0; 236 236 }
Note:
See TracChangeset
for help on using the changeset viewer.
