Ignore:
Timestamp:
Oct 22, 2001, 2:08:28 PM (24 years ago)
Author:
cmv
Message:

Adapted to version 3.5 xephem cmv 22/10/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XephemAstroLib/vsop87.c

    r1681 r1719  
    152152
    153153            /* precision threshold */
    154             if(alpha>0) p = t_abs[alpha-1]; else p=0.;
    155             p = q/(t_abs[alpha] + alpha * p * 1e-4 + 1e-35);
     154            p= alpha ? q/(t_abs[alpha] + alpha*t_abs[alpha-1]*1e-4 + 1e-35) : q;
    156155#if VSOP_SPHERICAL
    157156            if (cooidx == 2)    /* scale by semimajor axis for radius */
     
    212211
    213212/* For RCS Only -- Do Not Edit */
    214 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 2001-10-11 12:40:41 $ $Revision: 1.2 $ $Name: not supported by cvs2svn $"};
     213static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: vsop87.c,v $ $Date: 2001-10-22 12:08:28 $ $Revision: 1.3 $ $Name: not supported by cvs2svn $"};
Note: See TracChangeset for help on using the changeset viewer.