Changeset 9932
- Timestamp:
- Nov 9, 2006, 1:26:04 PM (20 years ago)
- Location:
- trunk/psLib/src/astro
- Files:
-
- 2 added
- 1 edited
-
parse_gcov-out.c (added)
-
profile_tap (added)
-
psSphereOps.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psSphereOps.c
r9538 r9932 8 8 * @author Dave Robbins, MHPCC 9 9 * 10 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-1 0-13 21:13:47$10 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-11-09 23:26:04 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 50 50 double phiP) 51 51 { 52 if (isnan(alphaP) || isnan(deltaP) || isnan(phiP) ) { 53 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 54 "Input angles cannot be NaN in psSphereRotAlloc."); 55 return NULL; 56 } 52 57 psSphereRot *r = sphereRotAlloc(); 53 58 psSphereRot *s = sphereRotAlloc(); … … 95 100 double q3) 96 101 { 102 if (isnan(q0) || isnan(q1) || isnan(q2) || isnan(q3) ) { 103 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 104 "Input quaternions cannot be NaN in psSphereRotQuat."); 105 return NULL; 106 } 97 107 //allocate space for a new sphere rotation and set deallocator 98 108 psSphereRot* rot = sphereRotAlloc();
Note:
See TracChangeset
for help on using the changeset viewer.
