lwang-astro / PeTar

PeTar is a high-performance N-body code for modelling the evolution of star clusters and tidal streams, including the effect of galactic potential, dynamics of binary and hierarchical system, single and binary stellar evolution.
MIT License
71 stars 19 forks source link

Update data.py (typo in line 259) #35

Closed jikrant3 closed 1 year ago

jikrant3 commented 1 year ago

Fixed a typo in def toSkyCoord() at line 259 (changed "parameter" to "parameters"). It was causing an error if try to change the position of the Sun. e.g. particle.toSkyCoord(pos_offset=header.pos_offset, vel_offset=header.vel_offset, galcen_distance=8.122*u.kpc)