simonrw / ttvfast-python

Python interface to the TTVFast library
GNU General Public License v2.0
16 stars 6 forks source link

Handle error cases in the TTVFast code by raising python exceptions #7

Closed simonrw closed 7 years ago

simonrw commented 8 years ago

For example:

if(a<0.0) {

    printf("hyperbolic orbit %lf\n", a);

    exit(-1);

  }
simonrw commented 8 years ago

The trouble is that this code is in the TTVFast module itself rather than the Python wrapper. This would mean either:

simonrw commented 8 years ago

See the issue in TTVFast-python-compat: https://github.com/mindriot101/TTVFast-python-compat/issues/1

simonrw commented 7 years ago

The issue has now been merged to upstream, so we can track master again!