IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2009, 10:21:48 AM (17 years ago)
Author:
Paul Price
Message:

API for psTimeConvert was confusing: the time is converted in-place, but returning a psTime* implies that a new structure is created and the operation is performed on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psEarthOrientation.c

    r21388 r22682  
    767767    psTime *in = psTimeCopy(time);
    768768    if (in->type != PS_TIME_UT1) {
    769         in = psTimeConvert(in, PS_TIME_UT1);
     769        psTimeConvert(in, PS_TIME_UT1);
    770770    }
    771771    //Check if tidal corrections should be included.
Note: See TracChangeset for help on using the changeset viewer.