ygrenier / SwissEphNet

Swiss Ephemeris for .Net. A Swiss Ephemeris portage for .Net.
Other
77 stars 35 forks source link

Error with "hyp. bodies" in SweWin #6

Closed ygrenier closed 10 years ago

ygrenier commented 10 years ago

if I set the parameter "hyp. bodies" the program goes wrong.

File: SwemPlan.cs - function: check_t_terms - line: 957 - while (sp != null && "0123456789.".Contains(sp[0])) --- generates error ;

I changed it to: while (!String.IsNullOrEmpty(sp) && "0123456789.".Contains(sp[0])) --- seems to work.