Small bug fix to rtheta.c (rtheta_where_in_grid)