fix faulty logic checking for C implementation
fix faulty logic checking for C implementation

followthesheep/galpy,followthesheep/galpy,jobovy/galpy,jobovy/galpy,followthesheep/galpy,followthesheep/galpy,jobovy/galpy,jobovy/galpy