mikegrudic / pytreegrav

Fast N-body gravitational force and potential in Python
MIT License
64 stars 9 forks source link

calculations with nan inputs silently enter an infinite loop #5

Closed mikegrudic closed 3 years ago

mikegrudic commented 4 years ago

thanks to Alex G for discovering this. will address soon.

mikegrudic commented 3 years ago

Should be fixed now - we explicitly check for valid inputs before going into the treebuild.