IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 29, 2005, 4:17:17 PM (21 years ago)
Author:
drobbin
Message:

Edited psCubeToSphere, tests. EOC - gravity still fails. Others still unchecked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tst_psSphereOps.c

    r5514 r5626  
    55*  @author d-Rob, MHPCC
    66*
    7 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    8 *  @date $Date: 2005-11-15 00:04:30 $
     7*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     8*  @date $Date: 2005-11-30 02:17:17 $
    99*
    1010*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    494494        }
    495495    */
    496     output->r *= -1.0;
    497     output->d *= -1.0;
     496    //    output->r *= -1.0;
     497    //    output->d *= -1.0;
    498498    empty = psSphereGetOffset(origin, output, PS_LINEAR, PS_RADIAN);
    499     if ( fabs(offset->r - empty->r) > 0.0001 || abs(offset->d - empty->r) > 0.0001 ) {
     499    if ( fabs(offset->r - empty->r) > 0.0001 || fabs(offset->d - empty->d) > 0.0001 ) {
    500500        psError(PS_ERR_BAD_PARAMETER_VALUE, false,
    501501                "psSphereGetOffset failed to return correct linear offset values.\n");
Note: See TracChangeset for help on using the changeset viewer.